Fixed Players from technically only dying once (thanks Qala)

This commit is contained in:
Nathan Adams 2011-11-30 23:45:55 +00:00
parent a513406005
commit 4ce061ccbe

View File

@ -267,6 +267,7 @@ public class ServerConfigurationManager {
entityplayer.expLevel = 0; entityplayer.expLevel = 0;
entityplayer.expTotal = 0; entityplayer.expTotal = 0;
entityplayer.exp = 0; entityplayer.exp = 0;
entityplayer.deathTicks = 0;
entityplayer.d(entityplayer.newExp); entityplayer.d(entityplayer.newExp);
} else { } else {
location.setWorld(this.server.getWorldServer(i).getWorld()); location.setWorld(this.server.getWorldServer(i).getWorld());