Finalize the thrown poss ball
This commit is contained in:
parent
74769f63ad
commit
6f0511990e
1 changed files with 8 additions and 2 deletions
|
@ -126,8 +126,14 @@ public class ThrownPossBall extends ThrowableItemProjectile
|
||||||
level().addFreshEntity(xEntity);
|
level().addFreshEntity(xEntity);
|
||||||
}
|
}
|
||||||
|
|
||||||
tag = new CompoundTag();
|
LoreContainer cont = new LoreContainer(item);
|
||||||
item.setTag(tag);
|
cont.miscData.LoreData.clear();
|
||||||
|
cont.commitLore();
|
||||||
|
|
||||||
|
if(item.getDamageValue() == 0)
|
||||||
|
{
|
||||||
|
item.setTag(new CompoundTag());
|
||||||
|
}
|
||||||
|
|
||||||
ItemEntity x = new ItemEntity(level(), position().x, position().y, position().z, item, 0, 0, 0);
|
ItemEntity x = new ItemEntity(level(), position().x, position().y, position().z, item, 0, 0, 0);
|
||||||
level().addFreshEntity(x);
|
level().addFreshEntity(x);
|
||||||
|
|
Reference in a new issue