Skip to content

Commit

Permalink
Fix void shift rendering in offhand - #210
Browse files Browse the repository at this point in the history
  • Loading branch information
Direwolf20-MC committed Oct 8, 2024
1 parent 20913d5 commit e5a0f42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static void renderWorldLastEvent(RenderLevelStageEvent evt) {
}
if (heldItemOff.getItem() instanceof ToggleableTool toggleableTool) {
ThingFinder.render(evt, player, heldItemOff);
if (toggleableTool.canUseAbilityAndDurability(heldItemOff, Ability.VOIDSHIFT) && ToggleableTool.getCustomSetting(heldItemMain, Ability.VOIDSHIFT.getName()) == 0)
if (toggleableTool.canUseAbilityAndDurability(heldItemOff, Ability.VOIDSHIFT) && ToggleableTool.getCustomSetting(heldItemOff, Ability.VOIDSHIFT.getName()) == 0)
MiscRenders.renderTransparentPlayer(evt, player, heldItemOff);
}
}
Expand Down

0 comments on commit e5a0f42

Please sign in to comment.