We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40b34f6 commit 757ca20Copy full SHA for 757ca20
1 file changed
plugin/src/main/kotlin/trplugins/menu/module/internal/listener/ListenerItemInteract.kt
@@ -53,11 +53,7 @@ object ListenerItemInteract {
53
class InventoryNMSImpl : InventoryNMS() {
54
55
private val `clazz$CraftInventoryCustom$MinecraftInventory` =
56
- if (versionId >= 12108) {
57
- obcClass("inventory.CraftInventoryCustom\$MinecraftInventory")
58
- } else {
59
- obcClass("org.bukkit.craftbukkit.inventory.CraftInventoryCustom\$MinecraftInventory")
60
- }
+ obcClass("inventory.CraftInventoryCustom\$MinecraftInventory")
61
62
override fun checkInventory(inventory: Inventory): Boolean {
63
return `clazz$CraftInventoryCustom$MinecraftInventory`.isInstance((inventory as CraftInventory).inventory)
0 commit comments