-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Improvement request
Describe the solution you'd like
A better way to handle signs while still maintaining cross-version compatibility;
block.getType().name().toUpperCase().contains("SIGN")
block.getType().toString().contains("SIGN") (pretty sure both will work just fine)
This will both, handle every sign variation (oak, dark oak, etc.) and handle wall and ground signs, all in one check.
Describe alternatives you've considered
What you have now may work, but it'll be very tedious to maintain over time.
Additional context
N/A