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

Add InventoryType support to EffOpenInventory #3765

Merged

Conversation

TPGamesNL
Copy link
Member

Description

Added a InventoryType -> Inventory converter, to allow the usage of inventory types in effects like EffOpenInventory.


Target Minecraft Versions: any
Requirements: none
Related Issues: #3677

@TPGamesNL TPGamesNL added 2.5 enhancement Feature request, an issue about something that could be improved, or a PR improving something. labels Feb 21, 2021
@TPGamesNL TPGamesNL changed the title Update DefaultConverters.java Add InventoryType to Inventory converter Feb 22, 2021
@TPGamesNL
Copy link
Member Author

Would it be better to remove the converter, and add this to EffOpenInventory? With the converter, things like holder of brewing stand inventory are possible, which make no sense.

@TheLimeGlass
Copy link
Collaborator

Yes, I believe this would be better to be added into the actual EffOpenInventory effect. Also the name of the inventory title can be done that way too.

@TPGamesNL
Copy link
Member Author

Would it be better to remove the converter, and add this to EffOpenInventory? With the converter, things like holder of brewing stand inventory are possible, which make no sense.

Done

@APickledWalrus APickledWalrus changed the title Add InventoryType to Inventory converter Add InventoryType support to EffOpenInventory Feb 28, 2021
@Whimsyturtle Whimsyturtle merged commit b6354f3 into SkriptLang:master Mar 19, 2021
@TPGamesNL TPGamesNL deleted the fix/inventory-type-converter branch March 19, 2021 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants