Skip to content

Commit

Permalink
fix last cherry-pick
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Apr 18, 2024
1 parent 853f934 commit f5cdf24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void onToggle(ICommonArmorHandler commonArmorHandler, boolean newState) {

@Override
public void onShutdown(ICommonArmorHandler commonArmorHandler) {
AttributeInstance attr = commonArmorHandler.getPlayer().getAttribute(ForgeMod.BLOCK_REACH.get());
AttributeInstance attr = commonArmorHandler.getPlayer().getAttribute(ForgeMod.REACH_DISTANCE.get());
if (attr != null) {
attr.removeModifier(REACH_DIST_BOOST);
}
Expand Down

0 comments on commit f5cdf24

Please sign in to comment.