@@ -11,7 +11,7 @@
|
||||
hashmap.put(2, new MinecraftKey("textures/entity/cat/red.png"));
|
||||
@@ -433,7 +433,7 @@
|
||||
}
|
||||
} else if (this.n(itemstack)) {
|
||||
} else if (this.isBreedItem(itemstack)) {
|
||||
this.a(entityhuman, enumhand, itemstack);
|
||||
- if (this.random.nextInt(3) == 0) {
|
||||
+ if (this.random.nextInt(3) == 0 && !org.bukkit.craftbukkit.event.CraftEventFactory.callEntityTameEvent(this, entityhuman).isCancelled()) { // CraftBukkit
|
||||
|
||||
Reference in New Issue
Block a user