My server threw up last night after I fell asleep, as usual. So this morning I reboot and attempt to connect - and I get this error. It happens sometimes when others join as well and it seems to crash the server. Is there any way of changing my position in the world manually to fix it (without rolling back)? Code: 2011-01-31 06:45:20 [INFO] Disconnecting Kr1sc [/192.168.1.199:16512]: Internal server error 2011-01-31 06:45:20 [WARNING] Failed to handle packet: java.lang.ArrayIndexOutOfBoundsException: -59 java.lang.ArrayIndexOutOfBoundsException: -59 at net.minecraft.server.Chunk.c(SourceFile:130) at net.minecraft.server.ChunkProviderServer.d(ChunkProviderServer.java:71) at net.minecraft.server.PlayerInstance.<init>(SourceFile:32) at net.minecraft.server.PlayerManager.a(SourceFile:171) at net.minecraft.server.PlayerManager.a(SourceFile:204) at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:77) at net.minecraft.server.NetLoginHandler.b(SourceFile:121) at net.minecraft.server.NetLoginHandler.a(SourceFile:47) at net.minecraft.server.NetworkListenThread.a(SourceFile:91) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:276) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:202) at net.minecraft.server.ThreadServerApplication.run(SourceFile:512) 2011-01-31 06:45:21 [SEVERE] Unexpected exception java.lang.ArrayIndexOutOfBoundsException: -2 at net.minecraft.server.World.g(SourceFile:1555) at net.minecraft.server.World.f(SourceFile:1482) at net.minecraft.server.WorldServer.f(WorldServer.java:77) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:269) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:202) at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
Delete your player.dat file, it's in the players folder of the world folder. This resets you back to spawn.
I saw this thread earlier and put it on watch because I thought that deleting the player.dat file would work but I wasn't sure if it would also delete the inventory too... So am I right in assuming it will only reset the player location and not their inventory?