SpiGUI icon indicating copy to clipboard operation
SpiGUI copied to clipboard

onAdjacentInventoryClick Error

Open JackerAcid opened this issue 1 year ago • 0 comments

As of 1.4.0

Anytime @EventHandler(priority = EventPriority.LOWEST) public void onAdjacentInventoryClick(InventoryClickEvent event) is called it will attempt to cast org.bukkit.craftbukkit.entity.CraftPlayer to a com.samjakob.spigui.menu.SGMenu causing errors in the console.

(Temporary fix for this would be to downgrade this function back to version 1.3.1 although you would lose the ability to set specific blockedAdjacentActions)

JackerAcid avatar Oct 30 '24 05:10 JackerAcid