-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Re-add support for itemtypes in CondIsOfType #5073
Re-add support for itemtypes in CondIsOfType #5073
Conversation
There is no entitytype to entitydata converter, this will break past compatability comparing an entity to an entitytype. Why did you remove entitytype? Not all entitydata match 1:1 with entitytype. EntityData is based off Entity classes, it's designed to be used a literal and return a created entity. Entitytype will be removed in the future as Skript doesn't use Spigot EntityType enum, just not at this current time, so support for it is required. |
From the looks of it, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth looking into the EntityType thing as Lime mentioned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bd134d0
to
3f08853
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some tests would be nice
Do you still intend to work on this? |
Co-authored-by: sovdee <[email protected]>
Description
Looks like #1597 accidentally removed
itemtypes
support in CondIsOfType. This PR adds it back.Target Minecraft Versions:
Requirements:
Related Issues: