From 147e3d684da0d33cb870872a210cddad8b82bc85 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Tue, 7 Jun 2011 19:31:17 +0100 Subject: Fixed health on multiworld teleportation --- src/main/java/net/minecraft/server/ServerConfigurationManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index 11df7bbe..7d3af6ed 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); -- cgit v1.2.3