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);
|
||||
}
|
||||
|
||||
tag = new CompoundTag();
|
||||
item.setTag(tag);
|
||||
LoreContainer cont = new LoreContainer(item);
|
||||
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);
|
||||
level().addFreshEntity(x);
|
||||
|
|
Reference in a new issue