mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
fixed compile error
This commit is contained in:
parent
8f008b620a
commit
bcfe82f475
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user