fixed compile error

This commit is contained in:
Indyuce 2019-08-29 17:56:29 +02:00
parent 8f008b620a
commit bcfe82f475

View File

@ -50,9 +50,7 @@ public class NewItemEdition implements Edition {
if (input.equals("cancel"))
return true;
Bukkit.getScheduler().runTask(MMOItems.plugin, () -> {
Bukkit.dispatchCommand(inv.getPlayer(), "mi create " + inv.getType().getId() + " " + input.toUpperCase().replace(" ", "_").replace("-", "_"));
});
Bukkit.getScheduler().runTask(MMOItems.plugin, () -> Bukkit.dispatchCommand(inv.getPlayer(), "mi create " + inv.getType().getId() + " " + input.toUpperCase().replace(" ", "_").replace("-", "_")));
return true;
}
}