From dd0c3659210b098bcbc2e4ab952ebf7c30409ea5 Mon Sep 17 00:00:00 2001 From: Slenderman Date: Tue, 3 Mar 2026 16:31:03 -0500 Subject: [PATCH] Fix tutorial world crash --- Minecraft.Client/ClientConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.Client/ClientConnection.cpp b/Minecraft.Client/ClientConnection.cpp index 05dd23840..8123a2f0b 100644 --- a/Minecraft.Client/ClientConnection.cpp +++ b/Minecraft.Client/ClientConnection.cpp @@ -449,7 +449,7 @@ void ClientConnection::handleAddEntity(shared_ptr packet) } } - if (owner->instanceof(eTYPE_PLAYER)) + if (owner != NULL && owner->instanceof(eTYPE_PLAYER)) { shared_ptr player = dynamic_pointer_cast(owner); shared_ptr hook = shared_ptr( new FishingHook(level, x, y, z, player) );