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

Fix and enhance EffOpenInventory #7508

Open
wants to merge 27 commits into
base: dev/feature
Choose a base branch
from

Conversation

TheLimeGlass
Copy link
Contributor

@TheLimeGlass TheLimeGlass commented Jan 22, 2025

Continuation #5531

See split commit Modify EffOpenInventory for easy reviewing to allow for easier reviewing of what was changed in EffOpenInventory before rename to EffSecOpenInventory.

TheLimeGlass and others added 26 commits March 17, 2023 00:10
Comment on lines +274 to +279
} catch (NullPointerException | IllegalArgumentException e) {
// Spigot forgot to label some InventoryType's as non creatable in some versions < 1.19.4
// So this throws NullPointerException aswell ontop of the IllegalArgumentException.
// See https://hub.spigotmc.org/jira/browse/SPIGOT-7301
Skript.error("You can't open a '" + Classes.toString(type) + "' inventory to players. It's not creatable.");
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we support less than 1.19.4 anymore so it might be okay to remove this.

@Moderocky
Copy link
Member

It looks mostly fine I think.

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

Successfully merging this pull request may close these issues.

3 participants