Update to Minecraft 1.9

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2016-03-01 08:32:46 +11:00
parent 2da480a9c8
commit 21d4bf5d1f
305 changed files with 6684 additions and 6105 deletions

View File

@@ -8,10 +8,10 @@
public class EntityMushroomCow extends EntityCow {
public EntityMushroomCow(World world) {
@@ -24,6 +26,14 @@
}
@@ -18,6 +20,14 @@
if (itemstack != null && itemstack.getItem() == Items.SHEARS && this.getAge() >= 0) {
return true;
} else if (itemstack != null && itemstack.getItem() == Items.SHEARS && this.getAge() >= 0) {
+ // CraftBukkit start
+ PlayerShearEntityEvent event = new PlayerShearEntityEvent((org.bukkit.entity.Player) entityhuman.getBukkitEntity(), this.getBukkitEntity());
+ this.world.getServer().getPluginManager().callEvent(event);