Skip to content

Commit

Permalink
feat: 修复创建错误
Browse files Browse the repository at this point in the history
  • Loading branch information
huanmeng-qwq committed Dec 29, 2024
1 parent 99b205e commit 2c41319
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected Inventory build(@NonNull InventoryHolder holder) {
return createSpigotInventory(holder);
}
try {
return (Inventory) paperCreateTitle.bindTo(Bukkit.class).invoke(holder, line * 9, title);
return (Inventory) paperCreateTitle.invoke(holder, line * 9, title);
} catch (Throwable e) {
return createSpigotInventory(holder);
}
Expand Down

0 comments on commit 2c41319

Please sign in to comment.