From 0fd0a7fb44d41a4a3af94aecadf859e948aa850a Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 10 Mar 2016 17:38:03 +0000 Subject: [PATCH] mak esupply drop beacons more specific --- .../mineplex/game/clans/clans/supplyDrop/SupplyDropManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/supplyDrop/SupplyDropManager.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/supplyDrop/SupplyDropManager.java index 8380afa6e..2a0c69166 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/supplyDrop/SupplyDropManager.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/supplyDrop/SupplyDropManager.java @@ -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) // {