From 147e3d684da0d33cb870872a210cddad8b82bc85 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Tue, 7 Jun 2011 19:31:17 +0100 Subject: [PATCH] Fixed health on multiworld teleportation --- .../java/net/minecraft/server/ServerConfigurationManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index 11df7bbe81..7d3af6ed9a 100644 --- a/src/main/java/net/minecraft/server/ServerConfigurationManager.java +++ b/src/main/java/net/minecraft/server/ServerConfigurationManager.java @@ -253,6 +253,7 @@ public class ServerConfigurationManager { entityplayer1.inventory = entityplayer.inventory; entityplayer1.activeContainer = entityplayer.activeContainer; entityplayer1.defaultContainer = entityplayer.defaultContainer; + entityplayer1.health = entityplayer.health; } worldserver.chunkProviderServer.getChunkAt((int) entityplayer1.locX >> 4, (int) entityplayer1.locZ >> 4);