Skip to content

Commit 51a4a4e

Browse files
Merge pull request #213 from wling-art/stable/v3
fix(listener): 修正CraftInventory类的导入路径
2 parents 7d1a9a8 + 757ca20 commit 51a4a4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/src/main/kotlin/trplugins/menu/module/internal/listener/ListenerItemInteract.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ object ListenerItemInteract {
5353
class InventoryNMSImpl : InventoryNMS() {
5454

5555
private val `clazz$CraftInventoryCustom$MinecraftInventory` =
56-
obcClass("org.bukkit.craftbukkit.inventory.CraftInventoryCustom\$MinecraftInventory")
56+
obcClass("inventory.CraftInventoryCustom\$MinecraftInventory")
5757

5858
override fun checkInventory(inventory: Inventory): Boolean {
5959
return `clazz$CraftInventoryCustom$MinecraftInventory`.isInstance((inventory as CraftInventory).inventory)

0 commit comments

Comments
 (0)