[Arcade] Add additional hub clock check
This commit is contained in:
parent
d390d83dd1
commit
6b7c52cb87
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user