Add command cooldown
This commit is contained in:
		| @ -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 | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user