[Arcade] Add additional hub clock check

This commit is contained in:
Shaun Bennett 2015-05-14 15:17:45 -05:00
parent d390d83dd1
commit 6b7c52cb87

View File

@ -122,6 +122,10 @@ public class MiscManager implements Listener
if (player.getItemInHand().getType() != Material.WATCH)
return;
// Prevent players from hub warping off clock in Master Builders
if (!player.getItemInHand().getItemMeta().getDisplayName().contains("Hub"))
return;
if (!Recharge.Instance.usable(event.getPlayer(), "Return to Hub"))
return;