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

ExprDurability/ExprMaxDurability - account for custom durability #6803

Merged
merged 12 commits into from
Jul 1, 2024

Conversation

ShaneBeee
Copy link
Contributor

@ShaneBeee ShaneBeee commented Jun 21, 2024

Description

This PR aims to fix an issue with max durability of an item.
This expression was relying on the vanilla max durability of an item.
In Minecraft 1.20.5+ there is now the option of having custom durability on an item.

This PR also adds a changer to max durability expression allowing to change in Minecraft 1.20.5+

There is one TODO (waiting on Skript to update to Paper 1.21 API - #6798 )


Target Minecraft Versions: mainly 1.20.5+
Requirements: none
Related Issues: none

@ShaneBeee ShaneBeee changed the title ExprDurability - account for custom durability ExprDurability/ExprMaxDurability - account for custom durability Jun 21, 2024
@ShaneBeee ShaneBeee changed the base branch from dev/patch to dev/feature June 21, 2024 15:11
Copy link
Member

@sovdeeth sovdeeth left a comment

Choose a reason for hiding this comment

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

one small thing

@sovdeeth sovdeeth added enhancement Feature request, an issue about something that could be improved, or a PR improving something. 2.9 Targeting a 2.9.X version release labels Jun 28, 2024
@Pikachu920 Pikachu920 changed the base branch from dev/feature to master June 30, 2024 05:44
@Pikachu920 Pikachu920 changed the base branch from master to dev/feature June 30, 2024 05:44
@sovdeeth sovdeeth added the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Jun 30, 2024
@APickledWalrus APickledWalrus merged commit 805a172 into SkriptLang:dev/feature Jul 1, 2024
5 checks passed
@ShaneBeee ShaneBeee deleted the fix/max-durability branch July 1, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.9 Targeting a 2.9.X version release enhancement Feature request, an issue about something that could be improved, or a PR improving something. feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants