1
0
Fork 0
mirror of https://github.com/Sollace/Unicopia.git synced 2025-04-18 09:04:06 +02:00

We no longer actually need this

This commit is contained in:
Sollace 2020-09-28 21:29:26 +02:00
parent 019a8da48d
commit 06f53ce7c2

View file

@ -131,12 +131,6 @@ public class EntityBehaviour<T extends Entity> {
copyInventory(from, l);
}
/*if (to instanceof RangedAttackMob) {
ItemStack activeItem = from.getActiveItem();
((RangedAttackMob)to).setSwingingArms(!activeItem.isEmpty() && activeItem.getUseAction() == UseAction.BOW);
}*/
if (to instanceof TameableEntity) {
((TameableEntity)to).setSitting(from.isSneaking());
}