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

rename getEnergy -> getStoredEnergy #643

Merged
merged 3 commits into from
Jul 13, 2024

Conversation

zyxkad
Copy link
Collaborator

@zyxkad zyxkad commented Jul 9, 2024

PLEASE READ THE GUIDELINES BEFORE MAKING A CONTRIBUTION

  • Please check if the PR fulfills these requirements
  • The commit message are well described
  • All changes have fully been tested
  • What kind of change does this PR introduce? (Bug fix, feature, ...)
    Bug fix

  • What is the current behavior? (You can also link to an open issue here)
    Powah's stuff's getEnergy will return an integer since there is a same name method in cc:t

  • What is the new behavior (if this is a feature change)?
    After rename it will not conflict anymore, and should return a double now

  • Does this PR introduce a breaking change? (What changes might users need to make in their scripts due to this PR?)
    No

  • Other information:
    1.19.2 do not have this bug, but I do not know if I still need to add a method called getStoredEnergy in 1.19.2

in order to prevent the method conflict with CC:Tweaked's energy_storage generic peripheral
resolve IntelligenceModding#642
@zyxkad zyxkad requested a review from SirEndii July 9, 2024 16:08
@zyxkad zyxkad added the 1.20x label Jul 9, 2024
@zyxkad zyxkad linked an issue Jul 9, 2024 that may be closed by this pull request
@zyxkad zyxkad added this to the 0.7.x milestone Jul 9, 2024
@SirEndii
Copy link
Member

That the check is not successful makes no sense
But I will ignore it

@SirEndii SirEndii merged commit 8222f8d into IntelligenceModding:dev/1.20.1 Jul 13, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Powah Ender cell numeric clamping
2 participants