Fixed segmentation fault in MinecraftConnection.