Add command cooldown
This commit is contained in:
parent
ffeef0b7ac
commit
a73e43168c
@ -28,7 +28,7 @@ public final class DonPayIntegPlug extends JavaPlugin {
|
|||||||
this.getServer().dispatchCommand(Bukkit.getConsoleSender(), commands.getFirst());
|
this.getServer().dispatchCommand(Bukkit.getConsoleSender(), commands.getFirst());
|
||||||
commands.removeFirst();
|
commands.removeFirst();
|
||||||
}
|
}
|
||||||
}, 1, 20 * 2);
|
}, 1, 20 * ConfigHandler.load().getCmdCooldown());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user