re-added delay to /spawn
This commit is contained in:
parent
d92f817efc
commit
8cfbe20a08
@ -59,6 +59,8 @@ public class ClansSpawnCommand extends CommandBase<Spawn>
|
|||||||
caller.teleport(Spawn.getWestSpawn());
|
caller.teleport(Spawn.getWestSpawn());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Recharge.Instance.use(caller, "Spawn Teleport", 13 * 60 * 1000, false, false);
|
||||||
|
|
||||||
// Inform
|
// Inform
|
||||||
Plugin.getClansManager().getTutorials().sendTutorialMsg(caller, F.main("Clans", "You have been teleported to Spawn."));
|
Plugin.getClansManager().getTutorials().sendTutorialMsg(caller, F.main("Clans", "You have been teleported to Spawn."));
|
||||||
}
|
}
|
||||||
@ -72,6 +74,6 @@ public class ClansSpawnCommand extends CommandBase<Spawn>
|
|||||||
{
|
{
|
||||||
UtilPlayer.message(client.getPlayer(), F.main("Clans", "Teleport has been cancelled due to movement."));
|
UtilPlayer.message(client.getPlayer(), F.main("Clans", "Teleport has been cancelled due to movement."));
|
||||||
}
|
}
|
||||||
}, 2 * 60 * 1000, false);
|
}, 35 * 1000, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user