Skip to content

Commit

Permalink
Fix a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhangup committed May 21, 2023
1 parent d5a5f54 commit da4689f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ open class Stored(title: String) : Basic(title) {
/** 读取物品回调 **/
internal var readItem: ((inventory: Inventory, slot: Int) -> ItemStack?) = { inventory, slot ->
if (slot in 0 until inventory.size) inventory.getItem(slot)
null
else null
}

/**
Expand Down

0 comments on commit da4689f

Please sign in to comment.