Skip to content

Commit

Permalink
Fix incorrect potency modifier (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChloeDawn committed Aug 21, 2023
1 parent 22fcc8c commit 5af2757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "dev.sapphic"
version = "1.8.3+1.20"
version = "1.8.4+1.20"

if ("CI" in System.getenv()) {
version = "$version-${versioning.info.build}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private static int modifyPotentPrimaryAmplifier(
&& (secondaryEffect != MobEffects.SLOW_FALLING)
&& (secondaryEffect != MobEffects.FIRE_RESISTANCE)) {
if (level.getBlockEntity(pos) instanceof final TieredBeacon beacon) {
return primaryAmplifier + 1 + Math.min(primaryAmplifier, beacon.getTier().ordinal());
return primaryAmplifier + beacon.getTier().ordinal();
}
}

Expand Down

0 comments on commit 5af2757

Please sign in to comment.