Fixed Clackers interacting with player's in hub games

This commit is contained in:
Sam 2018-06-30 21:45:57 +01:00 committed by Alexander Meech
parent c5c82f0bdd
commit b2909c2434

View File

@ -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;
}