Update for 1.6.6

This commit is contained in:
Erik Broes
2011-05-31 15:55:45 +02:00
parent 6dbd710bbf
commit 62b5da4e3a
12 changed files with 137 additions and 105 deletions

View File

@@ -240,6 +240,13 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
return;
}
if (this.player.isSleeping()) {
this.player.a(true);
this.player.setLocation(this.x, this.y, this.z, this.player.yaw, this.player.pitch);
worldserver.playerJoinedWorld(this.player);
return;
}
d0 = this.player.locY;
this.x = this.player.locX;
this.y = this.player.locY;