When upgrading from 1.20.4 (where Akropolis works) to 1.20.6 on Akropolis version 1.5.2 (latest), the following error prevents the plugin from successfully starting:
Class org.bukkit.enchantments.Enchantment does not have member field 'org.bukkit.enchantments.Enchantment ARROW_INFINITE'
The error is this line of code. When the glow attribute is selected for a menu item, it's attempting to apply the ARROW_INFINITE enchantment which does not exist in 1.20.6
As a workaround, users can disable glow attribute from their menu setups and it won't hit this exception on startup.
Describe the bug
When upgrading from 1.20.4 (where Akropolis works) to 1.20.6 on Akropolis version 1.5.2 (latest), the following error prevents the plugin from successfully starting:
Class org.bukkit.enchantments.Enchantment does not have member field 'org.bukkit.enchantments.Enchantment ARROW_INFINITE'
The error is this line of code. When the glow attribute is selected for a menu item, it's attempting to apply the
ARROW_INFINITE
enchantment which does not exist in 1.20.6As a workaround, users can disable glow attribute from their menu setups and it won't hit this exception on startup.
Link to latest.log file
https://mclo.gs/UNPo0Sv
Steps to reproduce
Expected behavior
Plugin boots up correctly
Technical information
Server software: Paper Server version: 1.20.6 Plugin version: 1.5.2
Additional context
No response