summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNathan Adams <dinnerbone@dinnerbone.com>2011-11-30 23:45:55 +0000
committerNathan Adams <dinnerbone@dinnerbone.com>2011-11-30 23:45:55 +0000
commit4ce061ccbe44f24fa8394152f19c200e5dcd92f2 (patch)
tree08ea3014eabfb9d512176bfa56cde5b1c4f21cd9 /src
parenta513406005d4aae3b710d76386948ca56b7bd09a (diff)
downloadcraftbukkit-4ce061ccbe44f24fa8394152f19c200e5dcd92f2.tar
craftbukkit-4ce061ccbe44f24fa8394152f19c200e5dcd92f2.tar.gz
craftbukkit-4ce061ccbe44f24fa8394152f19c200e5dcd92f2.tar.lz
craftbukkit-4ce061ccbe44f24fa8394152f19c200e5dcd92f2.tar.xz
craftbukkit-4ce061ccbe44f24fa8394152f19c200e5dcd92f2.zip
Fixed Players from technically only dying once (thanks Qala)
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 3eb38170..fab569a0 100644
--- a/src/main/java/net/minecraft/server/ServerConfigurationManager.java
+++ b/src/main/java/net/minecraft/server/ServerConfigurationManager.java
@@ -267,6 +267,7 @@ public class ServerConfigurationManager {
entityplayer.expLevel = 0;
entityplayer.expTotal = 0;
entityplayer.exp = 0;
+ entityplayer.deathTicks = 0;
entityplayer.d(entityplayer.newExp);
} else {
location.setWorld(this.server.getWorldServer(i).getWorld());