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

@@ -364,7 +364,7 @@ public class EntityWolf extends EntityAnimal {
}
if (!this.world.isStatic) {
// CraftBukkit - added event call and isCancelled check.
// CraftBukkit start - added event call and isCancelled check.
if (this.random.nextInt(3) == 0 && !CraftEventFactory.callEntityTameEvent(this, entityhuman).isCancelled()) {
// CraftBukkit end
this.setTamed(true);