diff options
author | md_5 <md_5@bigpond.com> | 2012-10-30 18:08:48 +1100 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-10-30 19:11:34 -0400 |
commit | 42391009f7d1db29bf0e0f043d22bfebb514a7f7 (patch) | |
tree | 9bc0cf0c88f110fde2f59f62ba31fe50f2d1a9da /src | |
parent | b7886d14216149c58221698e17305a7f14665bb1 (diff) | |
download | craftbukkit-42391009f7d1db29bf0e0f043d22bfebb514a7f7.tar craftbukkit-42391009f7d1db29bf0e0f043d22bfebb514a7f7.tar.gz craftbukkit-42391009f7d1db29bf0e0f043d22bfebb514a7f7.tar.lz craftbukkit-42391009f7d1db29bf0e0f043d22bfebb514a7f7.tar.xz craftbukkit-42391009f7d1db29bf0e0f043d22bfebb514a7f7.zip |
[Bleeding] Prevent players from appearing to be sneaking after they change dimensions whilst doing so.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/ServerConfigurationManagerAbstract.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManagerAbstract.java b/src/main/java/net/minecraft/server/ServerConfigurationManagerAbstract.java index 2dbe4eee..7ab5156e 100644 --- a/src/main/java/net/minecraft/server/ServerConfigurationManagerAbstract.java +++ b/src/main/java/net/minecraft/server/ServerConfigurationManagerAbstract.java @@ -387,7 +387,7 @@ public abstract class ServerConfigurationManagerAbstract { entityplayer1.spawnIn(worldserver); entityplayer1.dead = false; entityplayer1.netServerHandler.teleport(new Location(worldserver.getWorld(), entityplayer1.locX, entityplayer1.locY, entityplayer1.locZ, entityplayer1.yaw, entityplayer1.pitch)); - + entityplayer1.setSneaking(false); chunkcoordinates1 = worldserver.getSpawn(); // CraftBukkit end entityplayer1.netServerHandler.sendPacket(new Packet6SpawnPosition(chunkcoordinates1.x, chunkcoordinates1.y, chunkcoordinates1.z)); |