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

Inline Durability/Damaged Item #7438

Open
wants to merge 19 commits into
base: dev/feature
Choose a base branch
from

Conversation

NagasonicDev
Copy link

Description

This PR aims to durability reverse with the ExprDamagedItem class (#6109 )

Notes:

  • Please reply whether to change the name of the class or to create a separate expression.

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

Copy link
Contributor

@Fusezion Fusezion left a comment

Choose a reason for hiding this comment

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

Just a quick once through

Co-authored-by: Fusezion <fusezionstream@gmail.com>
@NagasonicDev
Copy link
Author

Changes are taken into account, I will fix shortly. Thanks for your review. (I'm not very good with English for the description stuff)

@TheLimeGlass
Copy link
Contributor

Thank you for your first contribution to Skript

NagasonicDev and others added 9 commits January 15, 2025 19:19
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Why remove the '@'?

Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
@NagasonicDev
Copy link
Author

That should fix everything. No unused imports. Only things that need to be checked are the @Since and the deprecation warning, as I'm not sure whether the language is right.

Copy link
Member

@Efnilite Efnilite left a comment

Choose a reason for hiding this comment

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

should be good after this

@Efnilite Efnilite added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Jan 15, 2025
NagasonicDev and others added 5 commits January 15, 2025 21:24
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
@NagasonicDev NagasonicDev requested a review from Efnilite January 15, 2025 10:28
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.

Needs tests

Comment on lines +52 to +54
if (matchedPattern == 0) {
Skript.warning("Data value is deprecated and is only used in older Minecraft versions that do not support this Skript version.");
}
Copy link
Member

Choose a reason for hiding this comment

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

this needs to check they actually used 'data' and didn't just use with damage 5

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