return;
}
short col = sheep.getColor().getData();
ItemStack itemStack = new ItemStack(VanillaMaterials.WOOL, col, GenericMath.getRandom().nextInt(3) + 1);
SheepShearedEvent event = VanillaPlugin.getInstance().getEngine().getEventManager().callEvent(new SheepShearedEvent(other, entity, itemStack));
if (event.isCancelled()) {
return;
}
sheep.setSheared(true);
Item.dropNaturally(other.getPhysics().getPosition(), event.getItemStack());
}
}