Fixed health on multiworld teleportation

This commit is contained in:
Dinnerbone 2011-06-07 19:31:17 +01:00
parent 864f8d2f0d
commit 147e3d684d

View File

@ -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);