Remove damage from poss ball entirely

This commit is contained in:
zontreck 2023-12-25 23:36:05 -07:00
parent 057f78df8c
commit fef70df3cb
3 changed files with 4 additions and 3 deletions

View file

@ -28,7 +28,7 @@ public class PossBallItem extends Item
@Override
public boolean isDamageable(ItemStack stack) {
return true;
return false;
}
@Override

View file

@ -157,9 +157,10 @@ public class ThrownPossBall extends ThrowableItemProjectile
} else {
// No capture
// Decrease the durability
/*
int damage = item.getDamageValue();
damage++;
item.setDamageValue(damage);
item.setDamageValue(damage);*/
// Ensure no entity tag!
tag.remove("entity");