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

Regeneration 5 => 2 matching Java #6445

Merged
merged 3 commits into from
Nov 9, 2024
Merged

Conversation

WavyCraftNetwork
Copy link
Contributor

@WavyCraftNetwork WavyCraftNetwork commented Sep 4, 2024

Introduction

In recent updates the Enchanted Golden Apple has been nerfed to match Java edition

Relevant issues

Changes

API changes

Nerfed Enchanted Golden Apple to match Java edition

Behavioural changes

No since it only affects 1 item

Backwards compatibility

Follow-up

Tests

I tested this PR by doing the following (tick all that apply):

  • Writing PHPUnit tests (commit these in the tests/phpunit folder)
  • Playtesting using a Minecraft client (provide screenshots or a video)
  • Writing a test plugin (provide the code and sample output)
  • Other (provide details)

@@ -30,7 +30,7 @@ class GoldenAppleEnchanted extends GoldenApple{

public function getAdditionalEffects() : array{
return [
new EffectInstance(VanillaEffects::REGENERATION(), 600, 4),
new EffectInstance(VanillaEffects::REGENERATION(), 600, 2),
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see it already applied 1 level so when a user inputs 0 it’ll automatically be 1.

Copy link
Member

@ShockedPlot7560 ShockedPlot7560 left a comment

Choose a reason for hiding this comment

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

Looks ok

@ShockedPlot7560 ShockedPlot7560 added Category: Gameplay Related to Minecraft gameplay experience Type: Fix Bug fix, typo fix, or any other fix labels Sep 9, 2024
@dktapps dktapps merged commit 231eec9 into pmmp:stable Nov 9, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Gameplay Related to Minecraft gameplay experience Type: Fix Bug fix, typo fix, or any other fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants