mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-08-28 08:25:56 +02:00
refactor gui item creation
This commit is contained in:
parent
23c7b0c753
commit
a9af606ae9
3 changed files with 123 additions and 127 deletions
|
|
@ -86,7 +86,7 @@ class EditConfigExecutor : CASubCommand() {
|
|||
|
||||
private fun processItem(sender: HumanEntity) {
|
||||
val item = sender.inventory.itemInMainHand
|
||||
if(item.isAir) {
|
||||
if (item.isAir) {
|
||||
sender.sendMessage("Cannot configure the item in hand")
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue