mak esupply drop beacons more specific

This commit is contained in:
Ben 2016-03-10 17:38:03 +00:00
parent 2d2e88e069
commit 0fd0a7fb44

View File

@ -140,7 +140,7 @@ public class SupplyDropManager extends MiniPlugin
if (item == null)
return false;
return item.getType() == SupplyDrop.SUPPLY_DROP_MATERIAL;
return item.getType() == SupplyDrop.SUPPLY_DROP_MATERIAL && item.getItemMeta().hasDisplayName() && item.getItemMeta().getDisplayName().contains("Supply");
// if (item.getType() == SUPPLY_DROP_MATERIAL)
// {