Add bypass perm for cooldown
This commit is contained in:
parent
9db0861a3c
commit
c98f141d7e
|
|
@ -42,7 +42,7 @@ public class ParticleSet {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void run(Player player, PlayerSettings playerSettings, UUID uuid) {
|
public void run(Player player, PlayerSettings playerSettings, UUID uuid) {
|
||||||
if (tooSoon(uuid))
|
if (tooSoon(uuid) && !player.hasPermission("apart.bypass-cooldown"))
|
||||||
return;
|
return;
|
||||||
if (Config.DEBUG)
|
if (Config.DEBUG)
|
||||||
Logger.info("Starting particle set % for %.", uniqueId, player.getName());
|
Logger.info("Starting particle set % for %.", uniqueId, player.getName());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user