diff options
Diffstat (limited to 'nms-patches/EntityMushroomCow.patch')
-rw-r--r-- | nms-patches/EntityMushroomCow.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/EntityMushroomCow.patch b/nms-patches/EntityMushroomCow.patch index 9ae6061f..32b544d6 100644 --- a/nms-patches/EntityMushroomCow.patch +++ b/nms-patches/EntityMushroomCow.patch @@ -1,14 +1,14 @@ --- a/net/minecraft/server/EntityMushroomCow.java +++ b/net/minecraft/server/EntityMushroomCow.java -@@ -1,5 +1,7 @@ +@@ -1,6 +1,7 @@ package net.minecraft.server; + import javax.annotation.Nullable; +import org.bukkit.event.player.PlayerShearEntityEvent; // CraftBukkit -+ + public class EntityMushroomCow extends EntityCow { - public EntityMushroomCow(World world) { -@@ -18,6 +20,14 @@ +@@ -20,6 +21,14 @@ return true; } else if (itemstack != null && itemstack.getItem() == Items.SHEARS && this.getAge() >= 0) { |