diff options
author | EvilSeph <evilseph@gmail.com> | 2011-12-12 03:08:38 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2011-12-12 03:16:50 -0500 |
commit | 14754c71a236525e0e9af76c17627ba40eadce0b (patch) | |
tree | 7f403da0fbd4a17375153391c77b36129bbb3f24 /src/main/java/net | |
parent | 322330e9420c5fc91e014d4015a6280e35a06787 (diff) | |
download | craftbukkit-14754c71a236525e0e9af76c17627ba40eadce0b.tar craftbukkit-14754c71a236525e0e9af76c17627ba40eadce0b.tar.gz craftbukkit-14754c71a236525e0e9af76c17627ba40eadce0b.tar.lz craftbukkit-14754c71a236525e0e9af76c17627ba40eadce0b.tar.xz craftbukkit-14754c71a236525e0e9af76c17627ba40eadce0b.zip |
Added missing CraftBukkit comments in previous commit.
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index ecf05ffe..ee252ea6 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -925,10 +925,12 @@ public class NetServerHandler extends NetHandler implements ICommandListener { public void a(Packet9Respawn packet9respawn) { if (this.player.j) { + // CraftBukkit start CraftWorld cworld = (CraftWorld) this.server.getWorlds().get(0); ChunkCoordinates chunkcoordinates = cworld.getHandle().getSpawn(); Location location = new Location(cworld, chunkcoordinates.x + 0.5, chunkcoordinates.y, chunkcoordinates.z + 0.5); this.player = this.minecraftServer.serverConfigurationManager.moveToWorld(this.player, 0, true, location); + // CraftBukkit end } else { if (this.player.getHealth() > 0) { return; |