Fix poss ball again
This commit is contained in:
parent
f300117409
commit
4ed87fcae9
1 changed files with 6 additions and 0 deletions
|
@ -170,6 +170,12 @@ public class ThrownPossBall extends ThrowableItemProjectile
|
|||
// Ensure no entity tag!
|
||||
tag.remove("entity");
|
||||
|
||||
if(tag.size()==0)
|
||||
{
|
||||
tag=null;
|
||||
item.setTag(null);
|
||||
}
|
||||
|
||||
|
||||
//if(item.getDamageValue() >= item.getMaxDamage())
|
||||
// return;
|
||||
|
|
Reference in a new issue