Read Access Violation when game mode is creative - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Development (https://forum.cuberite.org/forum-13.html) +--- Thread: Read Access Violation when game mode is creative (/thread-3194.html) |
Read Access Violation when game mode is creative - tympaniplayer - 08-12-2018 First time running cuberite from source. When I run in survival it's fine, but when I change the world to creative m_Client->GetPlayer() returns nullptr on line 865 in Protocol_1_9.cpp. By trade I'm a C# dev, but trying to get my c++ chops up by contributing to cuberite. I'm having a hard time tracing this bug. I assume there might be something wrong with my setup. Has anyone else experienced this? I'm on the head revision of master. Some info. OS: Windows 10 Pro Compiler: Visual Studio Community 2017 Happens in Debug and Release mode. Player is null when checking if the game mode is creative. Code: // Protocol_1_9.cpp |