Closed Moki0 closed 1 month ago
第一次输入这个指令是正常隐藏玩家背包物品的,关闭后再打开一次就不隐藏了
@CommandBody val test = subCommand { execute<ProxyPlayer> { sender, _, _ -> val player = Bukkit.getPlayer(sender.name) ?: return@execute player.openMenu<taboolib.module.ui.type.Chest> { hidePlayerInventory() } } }
第一次输入这个指令是正常隐藏玩家背包物品的,关闭后再打开一次就不隐藏了