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

Added (glow) ink sac to materials list for dyes #1508

Merged
merged 2 commits into from Aug 8, 2021

Conversation

multirp
Copy link

@multirp multirp commented Aug 5, 2021

Added in ink sacs and dyes to the materials checked for when using dyes on claims, requiring build permissions for players to use them; fixes #1457

else if (material.name().endsWith("_DYE"))
else if (material.name().endsWith("_DYE")
|| material.equals(Material.GLOW_INK_SAC)
|| material.equals(Material.INK_SAC))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should add single special cases outside of the loop, no need to check every single time around. Also, you have mixed tabs and spaces.

Copy link
Author

Choose a reason for hiding this comment

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

Ah, I see what you're talking about, I appreciate the heads up. This commit should address both issues.

@RoboMWM RoboMWM merged commit e8c5b37 into GriefPrevention:master Aug 8, 2021
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.

GloSigns (1.17)
3 participants