From b2909c2434a71446d37158f7771c74649368fe3d Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 30 Jun 2018 21:45:57 +0100 Subject: [PATCH] Fixed Clackers interacting with player's in hub games --- .../src/mineplex/core/gadget/gadgets/item/ItemClacker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/item/ItemClacker.java b/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/item/ItemClacker.java index 75ab98c36..4de9ccde2 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/item/ItemClacker.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/item/ItemClacker.java @@ -141,7 +141,7 @@ public class ItemClacker extends ItemGadget UtilPlayer.getInRadius(_location, RADIUS + 1).forEach((player, scale) -> { - if (_player.equals(player) || !Recharge.Instance.use(player, "Hit By " + getName(), 500, false, false)) + if (_player.equals(player) || !Recharge.Instance.use(player, "Hit By " + getName(), 500, false, false) || !Manager.selectEntity(ItemClacker.this, player)) { return; }