Fix balance of CraftBukkit start/end.

This commit is contained in:
Erik Broes
2012-01-12 19:43:34 +01:00
parent 897551e39e
commit 7d0e739f96
9 changed files with 11 additions and 13 deletions

View File

@@ -173,7 +173,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
this.b.serverConfigurationManager.sendAll(new Packet3Chat(event.getDeathMessage()));
}
// CraftBukkit - we clean the player's inventory after the EntityDeathEvent is called so plugins can get the exact state of the inventory.
// CraftBukkit start - we clean the player's inventory after the EntityDeathEvent is called so plugins can get the exact state of the inventory.
for (int i = 0; i < this.inventory.items.length; ++i) {
this.inventory.items[i] = null;
}