Re-allow chat suffixes to chain commands (accidentally added wrong thing to the array)

This commit is contained in:
Spencer 2018-04-12 19:07:41 -04:00 committed by Alexander Meech
parent e059e724d8
commit 21a375ea9a
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public class ChatExtraCommand extends CommandBase<Chat>
_extra = extra; _extra = extra;
CommandCenter.ALLOW_SPAM_IF_LAST.add(_extra); CommandCenter.ALLOW_SPAM_IF_LAST.addAll(Arrays.asList(aliases));
} }
public ChatExtraCommand(Chat plugin, String extra, String... aliases) public ChatExtraCommand(Chat plugin, String extra, String... aliases)