Skip to content

Better sign handling #209

@ArtelGG

Description

@ArtelGG

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions