Arclight
Arclight copied to clipboard
[1.16.5] org.bukkit.Material#getMaxDurability() always returns 0 on modded items, regardless if they have durability or not.
I have confirmed that ...
- [X] Arclight is up to date
- [X] all dependencies are installed
- [X] all plugins and mods are up to date
- [X] unable to reproduce in Spigot
- [X] unable to reproduce in Forge
Arclight version
arclight-1.16.5-1.0.24-SNAPSHOT-759a3fd
OS & Java versions
Java: 11
Plugins and Mods
Pixelmon Reforged 9.0.6 (Need any mod to test)
Description
org.bukkit.Material#getMaxDurability()
on modded items always returns 0, regardless if it's got durability or not. It should return the forge item max durability, and 0 if an item that doesn't use durability. Material#getMaxDurability()
still works on modded items.
Step to reproduce
Example found in the Arclight discord, here.
Logs
N/A
Server pack link (Optional)
No response