Disable New Years Countdown
This commit is contained in:
parent
c739ecc26d
commit
c50fb52a88
@ -184,8 +184,6 @@ public class Hub extends JavaPlugin implements IRelation
|
||||
|
||||
//Updates
|
||||
getServer().getScheduler().scheduleSyncRepeatingTask(this, new Updater(this), 1, 1);
|
||||
|
||||
new NewYearCountdown(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -83,19 +83,6 @@ public class NewYearCountdown extends MiniPlugin
|
||||
_targetTime = System.currentTimeMillis() + (seconds * 1000);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void cmd(PlayerCommandPreprocessEvent e)
|
||||
{
|
||||
if (!e.getPlayer().getName().equalsIgnoreCase("WilliamTiger"))
|
||||
return;
|
||||
|
||||
if (e.getMessage().equalsIgnoreCase("/lmao"))
|
||||
{
|
||||
e.setCancelled(true);
|
||||
start(30);
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void updateStage(UpdateEvent e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user