mehboss / CustomRecipes

CustomRecipes source code
Mozilla Public License 2.0
2 stars 1 forks source link

I am unable to interact correctly with the menu(/~ book) #49

Open Proud-pigeon opened 3 months ago

Proud-pigeon commented 3 months ago

What happened?

When I used the command/recipe book, the interface was successfully opened. Unfortunately, I was able to take out the item directly without any response, as if opening a Chest with an item

What was supposed to happen?

I should be able to interact with the interface, but I don't know what will happen (because it's already broken)

How do I reproduce this issue?

1./recipe book
2.Click on the item
3.Backend error and item removal

Relevant log output

07.04 19:45:03 [Server] Server Thread/Information [Yum] [Yum Event Monitoring] plugin Time encountered an exception while processing the InventoryClickEvent event!
07.04 19:45:03 [Server] Server Thread/Information [Yum] Exception Name: java. lang. NoSuchMethodError
07.04 19:45:03 [Server] Server Thread/Information [Yum] Exception Description: org. bukkit. inventory Inventory. getTitle() Ljava/lang/String;
07.04 19:45:03 [Server] Server Thread/Information [Yum] Simple error message as follows:
07.04 19:45:03 [Server] Server Thread/Information [Yum] is located at com. time. gyzer Main. onI (Main. java: 157)
07.04 19:45:03 [Server] Server Thread/Information [Yum] is located at sun. reflect GeneratedMethodAccessitor250. invoke (unknown: -1)
07.04 19:45:03 [Server] Server Thread/Information [Yum] is located at sun. reflect DelegateingMethodAccessitorImpl.invoke (unknown: -1)
07.04 19:45:03 [Server] Server Thread/Information [Yum] is located in Java. lang. reflect Method. invoke (unknown: -1)
07.04 19:45:03 [Server] Server Thread/Information [Yum] is located at org. bukkit. plugin. java JavaPluginLoader $1. execute (JavaPluginLoader. java: 315)
07.04 19:45:03 [Server] Server Thread/Information [Yum] [Yum Event Monitoring] plugin Time encountered an exception while processing the InventoryClickEvent event!
07.04 19:45:03 [Server] Server Thread/Information [Yum] Exception Name: java. lang. NoSuchMethodError
07.04 19:45:03 [Server] Server Thread/Information [Yum] Exception Description: org. bukkit. inventory Inventory. getTitle() Ljava/lang/String;
07.04 19:45:03 [Server] Server Thread/Information [Yum] Simple error message as follows:
07.04 19:45:03 [Server] Server Thread/Information [Yum] is located at com. time. gyzer Main. onI (Main. java: 157)
07.04 19:45:03 [Server] Server Thread/Information [Yum] is located at sun. reflect GeneratedMethodAccessitor250. invoke (unknown: -1)
07.04 19:45:03 [Server] Server Thread/Information [Yum] is located at sun. reflect DelegateingMethodAccessitorImpl.invoke (unknown: -1)
07.04 19:45:03 [Server] Server Thread/Information [Yum] is located in Java. lang. reflect Method. invoke (unknown: -1)
07.04 19:45:03 [Server] Server Thread/Information [Yum] is located at org. bukkit. plugin. java JavaPluginLoader $1. execute (JavaPluginLoader. java: 315)
07.04 19:45:04 [Server] Server Thread/Information [Yum] [Yum Event Monitoring] plugin Time encountered an exception while processing the InventoryClickEvent event!
07.04 19:45:04 [Server] Server Thread/Information [Yum] Exception Name: java. lang. NoSuchMethodError
07.04 19:45:04 [Server] Server Thread/Information [Yum] Exception Description: org. bukkit. inventory Inventory. getTitle() Ljava/lang/String;
07.04 19:45:04 [Server] Server Thread/Information [Yum] Simple error message as follows:
07.04 19:45:04 [Server] Server Thread/Information [Yum] is located at com. time. gyzer Main. onI (Main. java: 157)
07.04 19:45:04 [Server] Server Thread/Information [Yum] is located at sun. reflect GeneratedMethodAccessitor250. invoke (unknown: -1)
07.04 19:45:04 [Server] Server Thread/Information [Yum] is located at sun. reflect DelegateingMethodAccessitorImpl.invoke (unknown: -1)
07.04 19:45:04 [Server] Server Thread/Information [Yum] is located in Java. lang. reflect Method. invoke (unknown: -1)
07.04 19:45:04 [Server] Server Thread/Information [Yum] is located at org. bukkit. plugin. java JavaPluginLoader $1. execute (JavaPluginLoader. java: 315)
07.04 19:45:04 [Server] Server Thread/Information [Yum] [Yum Event Monitoring] plugin Time encountered an exception while processing the InventoryClickEvent event!
07.04 19:45:04 [Server] Server Thread/Information [Yum] Exception Name: java. lang. NoSuchMethodError
07.04 19:45:04 [Server] Server Thread/Information [Yum] Exception Description: org. bukkit. inventory Inventory. getTitle() Ljava/lang/String;
07.04 19:45:04 [Server] Server Thread/Information [Yum] Simple error message as follows:
07.04 19:45:04 [Server] Server Thread/Information [Yum] is located at com. time. gyzer Main. onI (Main. java: 157)
07.04 19:45:04 [Server] Server Thread/Information [Yum] is located at sun. reflect GeneratedMethodAccessitor250. invoke (unknown: -1)
07.04 19:45:04 [Server] Server Thread/Information [Yum] is located at sun. reflect DelegateingMethodAccessitorImpl.invoke (unknown: -1)
07.04 19:45:04 [Server] Server Thread/Information [Yum] is located in Java. lang. reflect Method. invoke (unknown: -1)
07.04 19:45:04 [Server] Server Thread/Information [Yum] is located at org. bukkit. plugin. java JavaPluginLoader $1. execute (JavaPluginLoader. java: 315)
07.04 19:45:05 [Server] Server Thread/Information [Yum] [Yum Event Monitoring] plugin Time encountered an exception while processing the InventoryClickEvent event!
07.04 19:45:05 [Server] Server Thread/Information [Yum] Exception Name: java. lang. NoSuchMethodError
07.04 19:45:05 [Server] Server Thread/Information [Yum] Exception Description: org. bukkit. inventory Inventory. getTitle() Ljava/lang/String;
07.04 19:45:05 [Server] Server Thread/Information [Yum] Simple error message as follows:
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located at com. time. gyzer Main. onI (Main. java: 157)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located at sun. reflect GeneratedMethodAccessitor250. invoke (unknown: -1)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located at sun. reflect DelegateingMethodAccessitorImpl.invoke (unknown: -1)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located in Java. lang. reflect Method. invoke (unknown: -1)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located at org. bukkit. plugin. java JavaPluginLoader $1. execute (JavaPluginLoader. java: 315)
07.04 19:45:05 [Server] Server Thread/Information [Yum] [Yum Event Monitoring] plugin Time encountered an exception while processing the InventoryClickEvent event!
07.04 19:45:05 [Server] Server Thread/Information [Yum] Exception Name: java. lang. NoSuchMethodError
07.04 19:45:05 [Server] Server Thread/Information [Yum] Exception Description: org. bukkit. inventory Inventory. getTitle() Ljava/lang/String;
07.04 19:45:05 [Server] Server Thread/Information [Yum] Simple error message as follows:
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located at com. time. gyzer Main. onI (Main. java: 157)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located at sun. reflect GeneratedMethodAccessitor250. invoke (unknown: -1)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located at sun. reflect DelegateingMethodAccessitorImpl.invoke (unknown: -1)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located in Java. lang. reflect Method. invoke (unknown: -1)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located at org. bukkit. plugin. java JavaPluginLoader $1. execute (JavaPluginLoader. java: 315)
07.04 19:45:05 [Server] Server Thread/Information [Yum] [Yum Event Monitoring] plugin Time encountered an exception while processing the InventoryClickEvent event!
07.04 19:45:05 [Server] Server Thread/Information [Yum] Exception Name: java. lang. NoSuchMethodError
07.04 19:45:05 [Server] Server Thread/Information [Yum] Exception Description: org. bukkit. inventory Inventory. getTitle() Ljava/lang/String;
07.04 19:45:05 [Server] Server Thread/Information [Yum] Simple error message as follows:
07.04 19:45:05 [Server] Server thread/information [Yum] is located at com. time. gyzer Main. onI (Main. java: 157)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located at sun. reflect GeneratedMethodAccessitor250. invoke (unknown: -1)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located at sun. reflect DelegateingMethodAccessitorImpl.invoke (unknown: -1)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located in Java. lang. reflect Method. invoke (unknown: -1)
07.04 19:45:05 [Server] Server Thread/Information [Yum] is located at org. bukkit. plugin. java JavaPluginLoader $1. execute (JavaPluginLoader. java: 315)
07.04 19:45:06 [Server] Server Thread/Information [Yum] [Yum Event Monitoring] plugin Time encountered an exception while processing the InventoryClickEvent event!
07.04 19:45:06 [Server] Server Thread/Information [Yum] Exception Name: java. lang. NoSuchMethodError
07.04 19:45:06 [Server] Server Thread/Information [Yum] Exception Description: org. bukkit. inventory Inventory. getTitle() Ljava/lang/String;
07.04 19:45:06 [Server] Server Thread/Information [Yum] Simple error message as follows:
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at com. time. gyzer Main. onI (Main. java: 157)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at sun. reflect GeneratedMethodAccessitor250. invoke (unknown: -1)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at sun. reflect DelegateingMethodAccessitorImpl.invoke (unknown: -1)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located in Java. lang. reflect Method. invoke (unknown: -1)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at org. bukkit. plugin. java JavaPluginLoader $1. execute (JavaPluginLoader. java: 315)
07.04 19:45:06 [Server] Server Thread/Information [Yum] [Yum Event Monitoring] plugin Time encountered an exception while processing the InventoryClickEvent event!
07.04 19:45:06 [Server] Server Thread/Information [Yum] Exception Name: java. lang. NoSuchMethodError
07.04 19:45:06 [Server] Server Thread/Information [Yum] Exception Description: org. bukkit. inventory Inventory. getTitle() Ljava/lang/String;
07.04 19:45:06 [Server] Server Thread/Information [Yum] Simple error message as follows:
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at com. time. gyzer Main. onI (Main. java: 157)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at sun. reflect GeneratedMethodAccessitor250. invoke (unknown: -1)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at sun. reflect DelegateingMethodAccessitorImpl.invoke (unknown: -1)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located in Java. lang. reflect Method. invoke (unknown: -1)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at org. bukkit. plugin. java JavaPluginLoader $1. execute (JavaPluginLoader. java: 315)
07.04 19:45:06 [Server] Server Thread/Information [Yum] [Yum Event Monitoring] plugin Time encountered an exception while processing the InventoryClickEvent event!
07.04 19:45:06 [Server] Server Thread/Information [Yum] Exception Name: java. lang. NoSuchMethodError
07.04 19:45:06 [Server] Server Thread/Information [Yum] Exception Description: org. bukkit. inventory Inventory. getTitle() Ljava/lang/String;
07.04 19:45:06 [Server] Server Thread/Information [Yum] Simple error message as follows:
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at com. time. gyzer Main. onI (Main. java: 157)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at sun. reflect GeneratedMethodAccessitor250. invoke (unknown: -1)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at sun. reflect DelegateingMethodAccessitorImpl.invoke (unknown: -1)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located in Java. lang. reflect Method. invoke (unknown: -1)
07.04 19:45:06 [Server] Server Thread/Information [Yum] is located at org. bukkit. plugin. java JavaPluginLoader $1. execute (JavaPluginLoader. java: 315)

Relevant file configuration

CursedPick:
  Enabled: true
  Shapeless: false
  Item: DIAMOND_PICKAXE
  Item-Damage: none
  Amount: 1
  Placeable: true
  Ignore-Data: false
  Ignore-Model-Data: false
  Custom-Tagged: true
  Durability: '100'
  Identifier: CURSED_PICKAXE
  Converter: none
  Permission: crecipe.recipe.cursedpick
  Name: '&4&lCursed Pick'
  Lore:
  - '&c&lThe Cursed Pickaxe'
  Effects:
  - POISON:20:2
  Hide-Enchants: true
  Enchantments:
  - DURABILITY:300
  ItemCrafting:
  - XAX
  - XAX
  - XIX
  Ingredients:
    A:
      Material: iron_nugget
      Identifier: none
      Amount: 1
      Name: '&fA'
    I:
      Material: stick
      Identifier: none
      Amount: 1
      Name: '&fI'
  Custom-Tags: []
  Item-Flags: []
  Attribute: []
  Custom-Model-Data: none
  Disabled-Worlds: []

Server Version

This server is running CraftBukkit version Spigot(MC: 1.16.4)

Plugin Version

1.9

Server Mode

Online Mode

Issue Confirmation

mehboss commented 3 months ago

Hello Proud-pigeon, I am unable to reproduce the cr booklet issue you are encountering and will require more information to assist. You can find the video here, which shows the booklet on 1.16.4 working as expected.

With this being said, are you able to show me what plugins you are currently using as well as the full error included, rather than a revised edit from the "yum" plugin.

I hope to find a solution for you soon, Thank you!

Proud-pigeon commented 2 months ago

Hello Proud-pigeon, I am unable to reproduce the cr booklet issue you are encountering and will require more information to assist. You can find the video here, which shows the booklet on 1.16.4 working as expected.

With this being said, are you able to show me what plugins you are currently using as well as the full error included, rather than a revised edit from the "yum" plugin.

I hope to find a solution for you soon, Thank you!

As a foreign user, I apologize for not being able to provide the required feedback information correctly. But I have fixed this bug. The reason is due to incorrect configuration in the configuration file, and I deeply apologize for this. I will find stronger feedback as soon as possible :D

====================================================

I found the cause of the bug in the config file

Displayname: '&c配方管理器 第%page%页'

Using non English characters next to variable% page% may cause coding incompatibility bugs, resulting in inability to read information, incorrect menu titles, and thus incorrect menu interaction.