Hidden egg fix
This commit is contained in:
parent
5c7d140521
commit
f7d9476191
@ -985,7 +985,7 @@ public class BonusManager extends MiniClientPlugin<BonusClientData> implements I
|
||||
if(!(entity instanceof Item))
|
||||
continue;
|
||||
|
||||
if(((Item)entity).getItemStack().getType() == Material.MONSTER_EGG)
|
||||
if(((Item)entity).getItemStack().getType() == Material.MONSTER_EGG && ((Item)entity).getItemStack().hasItemMeta() && !((Item)entity).getItemStack().getItemMeta().getDisplayName().startsWith("Hidden"))
|
||||
entity.remove();
|
||||
|
||||
if(!((Item) entity).getItemStack().hasItemMeta())
|
||||
|
Loading…
Reference in New Issue
Block a user