From 14754c71a236525e0e9af76c17627ba40eadce0b Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Mon, 12 Dec 2011 03:08:38 -0500 Subject: [PATCH] Added missing CraftBukkit comments in previous commit. --- src/main/java/net/minecraft/server/NetServerHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index ecf05ffe2b..ee252ea678 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;