summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-06-07 19:31:17 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-06-07 19:32:14 +0100
commit147e3d684da0d33cb870872a210cddad8b82bc85 (patch)
tree0064c28d352f52c8e9c9080bbd868dd175283504 /src
parent864f8d2f0dd64303b9b4ab1a76fd5c81d749e8fe (diff)
downloadcraftbukkit-147e3d684da0d33cb870872a210cddad8b82bc85.tar
craftbukkit-147e3d684da0d33cb870872a210cddad8b82bc85.tar.gz
craftbukkit-147e3d684da0d33cb870872a210cddad8b82bc85.tar.lz
craftbukkit-147e3d684da0d33cb870872a210cddad8b82bc85.tar.xz
craftbukkit-147e3d684da0d33cb870872a210cddad8b82bc85.zip
Fixed health on multiworld teleportation
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/minecraft/server/ServerConfigurationManager.java1
1 files changed, 1 insertions, 0 deletions
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);