Merge branch 'master' of ssh://184.154.0.242:7999/min/mineplex

This commit is contained in:
Mini-Chiss 2015-08-12 08:58:36 +02:00
commit 7ea148a802

View File

@ -1002,6 +1002,9 @@ public class BonusManager extends MiniClientPlugin<BonusClientData> implements I
{
if(!(entity instanceof Item))
continue;
if(!((Item)entity).getItemStack().hasItemMeta())
entity.remove();
if(((Item)entity).getItemStack().hasItemMeta() && !((Item)entity).getItemStack().getItemMeta().getDisplayName().startsWith("Hidden"))
entity.remove();