Fixed exp resetting upon teleporting cross-world (fixes BUKKIT-46. Again.)

This commit is contained in:
Nathan Adams committed 2011-12-04 12:16:15 +00:00
1 parent 98e062f0cf
commit 1dbebb4593
2 files changed
+2 -1

No files matched your search

@@ -703,6 +703,7 @@ public class ServerConfigurationManager {
public void updateClient(EntityPlayer entityplayer) {
entityplayer.updateInventory(entityplayer.defaultContainer);
entityplayer.s_();
entityplayer.cf = -1; // CraftBukkit added
}
public int getPlayerCount() {