AnvilGUI icon indicating copy to clipboard operation
AnvilGUI copied to clipboard

Does not support leaf core

Open ian171 opened this issue 1 month ago • 3 comments

This is the original issue link: issue, Leaf is an optimized core for Paper. However it isn't compatible

[20:54:56 ERROR]: Could not pass event PrepareAnvilEvent to AnvilColorizer v1.0.3
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100) ~[?:?]
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106) ~[?:?]
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302) ~[?:?]
at java.base/java.util.Objects.checkIndex(Objects.java:365) ~[?:?]
at java.base/java.util.ArrayList.get(ArrayList.java:428) ~[?:?]
at AnvilColorizer.jar/com.puddingkc.AnvilColorizer.onPrepareAnvil(AnvilColorizer.java:30) ~[AnvilColorizer.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:71) ~[leaf-api-1.21.8-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:59) ~[leaf-1.21.8.jar:1.21.8-98-d36ed6c]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[leaf-1.21.8.jar:1.21.8-98-d36ed6c]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:629) ~[leaf-api-1.21.8-R0.1-SNAPSHOT.jar:?]
at org.bukkit.event.Event.callEvent(Event.java:46) ~[leaf-api-1.21.8-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.event.CraftEventFactory.callPrepareResultEvent(CraftEventFactory.java:1709) ~[leaf-1.21.8.jar:1.21.8-98-d36ed6c]
at net.minecraft.world.inventory.AnvilMenu.setItemName(AnvilMenu.java:407) ~[leaf-1.21.8.jar:1.21.8-98-d36ed6c]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleRenameItem(ServerGamePacketListenerImpl.java:1109) ~[leaf-1.21.8.jar:1.21.8-98-d36ed6c]
at net.minecraft.network.protocol.game.ServerboundRenameItemPacket.handle(ServerboundRenameItemPacket.java:33) ~[leaf-1.21.8.jar:1.21.8-98-d36ed6c]
at net.minecraft.network.protocol.game.ServerboundRenameItemPacket.handle(ServerboundRenameItemPacket.java:8) ~[leaf-1.21.8.jar:1.21.8-98-d36ed6c]

ian171 avatar Nov 29 '25 14:11 ian171

As far as I can tell, this has nothing to do with AnvilGUI, nor the AuthAnvilLogin plugin which your issue links to. The problem is with AnvilColorizer, specifically this line here. Tell the author that they must check first whether the anvil's result is populated.

I am unable to assist you further.

PikaMug avatar Dec 09 '25 19:12 PikaMug

@ian171 Not a leaf bug.

GG-MD avatar Dec 11 '25 16:12 GG-MD

also It is not a bug of anvilgui.

GG-MD avatar Dec 11 '25 16:12 GG-MD