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

Unhardcode quad constants #652

Merged
merged 2 commits into from
May 3, 2024
Merged

Conversation

ferriarnus
Copy link
Member

@ferriarnus ferriarnus commented Apr 20, 2024

Description

Small change to use constants instead of magic numbers. Also make sure that the sprite of the quad is the correct new one. This shouldn't impact anything negatively, and it is more correct to do so.

TODO

  • If this is a draft, populate this with remaining tasks. Otherwise, remove this section.

Breaking Changes

List any breaking changes in this section, such as: changed/removed APIs, changed or removed items/blocks or modifications to recipes and gameplay mechanics.

Checklist

  • My code follows the style guidelines of this project (.editorconfig, most IDEs will use this for you).
  • I have made corresponding changes to the documentation.
  • My changes are ready for review from a contributor.

Copy link
Member

@Rover656 Rover656 left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks Ferri!

@Rover656 Rover656 merged commit a18b8ac into Team-EnderIO:dev/1.20.4 May 3, 2024
2 checks passed
Rover656 pushed a commit that referenced this pull request May 18, 2024
* unhardcode quad constants
* also set sprite of the quad to the new sprite

Backport PR #652
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants