#1449 Update commands.yml and make getter/setter in sync for new delay property

This commit is contained in:
ljacqu 2018-09-09 15:53:39 +02:00
parent b7f0159618
commit 035c2f352a
2 changed files with 8 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public class Command {
return delay;
}
public void setDelay(int delay) {
public void setDelay(long delay) {
this.delay = delay;
}

View File

@ -24,6 +24,13 @@
# command: 'broadcast %p has joined, welcome back!'
# executor: CONSOLE
#
# You can also add delay to command. It will run after the specified ticks. Example:
# onLogin:
# rules:
# command: 'rules'
# executor: PLAYER
# delay: 200
#
# Supported command events: onLogin, onSessionLogin, onFirstLogin, onJoin, onLogout, onRegister, onUnregister
#
# For onLogin and onFirstLogin, you can use 'ifNumberOfAccountsLessThan' and 'ifNumberOfAccountsAtLeast'