Fixed health on multiworld teleportation

Dieser Commit ist enthalten in:
Dinnerbone 2011-06-07 19:31:17 +01:00
Ursprung 864f8d2f0d
Commit 147e3d684d

Datei anzeigen

@ -253,6 +253,7 @@ public class ServerConfigurationManager {
entityplayer1.inventory = entityplayer.inventory; entityplayer1.inventory = entityplayer.inventory;
entityplayer1.activeContainer = entityplayer.activeContainer; entityplayer1.activeContainer = entityplayer.activeContainer;
entityplayer1.defaultContainer = entityplayer.defaultContainer; entityplayer1.defaultContainer = entityplayer.defaultContainer;
entityplayer1.health = entityplayer.health;
} }
worldserver.chunkProviderServer.getChunkAt((int) entityplayer1.locX >> 4, (int) entityplayer1.locZ >> 4); worldserver.chunkProviderServer.getChunkAt((int) entityplayer1.locX >> 4, (int) entityplayer1.locZ >> 4);