Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onAdjacentInventoryClick Error #42

Open
JackerAcid opened this issue Oct 30, 2024 · 0 comments
Open

onAdjacentInventoryClick Error #42

JackerAcid opened this issue Oct 30, 2024 · 0 comments

Comments

@JackerAcid
Copy link

JackerAcid commented Oct 30, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant