Skip to content

onAdjacentInventoryClick Error #42

Description

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions