Fixed an internal error. Trying to send a message without enough arguments.

This commit is contained in:
Stefan923 2020-05-05 18:32:50 +03:00 committed by BrowkS
parent 01913e7286
commit 7fc1ad19ad

View File

@ -46,8 +46,6 @@ public class CmdWild extends FCommand implements WaitedTask {
public void perform(CommandContext context) { public void perform(CommandContext context) {
if (!teleportRange.containsKey(context.player)) { if (!teleportRange.containsKey(context.player)) {
context.player.openInventory(new WildGUI(context.player, context.fPlayer).getInventory()); context.player.openInventory(new WildGUI(context.player, context.fPlayer).getInventory());
} else {
context.fPlayer.msg(TL.COMMAND_WILD_WAIT);
} }
} }