disabled hub clock for tournament
This commit is contained in:
parent
0ce3b3fb2d
commit
6e8bdfa769
@ -97,6 +97,9 @@ public class MiscManager implements Listener
|
||||
@EventHandler
|
||||
public void HubClockUpdate(UpdateEvent event)
|
||||
{
|
||||
if (Manager.IsTournamentServer())
|
||||
return;
|
||||
|
||||
if (event.getType() != UpdateType.SLOW)
|
||||
return;
|
||||
|
||||
@ -121,6 +124,9 @@ public class MiscManager implements Listener
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
public void HubClockInteract(PlayerInteractEvent event)
|
||||
{
|
||||
if (Manager.IsTournamentServer())
|
||||
return;
|
||||
|
||||
Player player = event.getPlayer();
|
||||
|
||||
if (player.getItemInHand() == null)
|
||||
|
Loading…
Reference in New Issue
Block a user