Skip to content

Commit

Permalink
upgrade method visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyfts committed Jan 19, 2025
1 parent 1cc193f commit 94a079e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ public abstract class MixinMinecraft {
/**
* @author Lyft
* @reason Offhand support
* Don't change this methods visibility despite what mixin debug says.
* Some mods AT this and changing the visibility will break them.
*/
@Overwrite
private void func_147121_ag() {
public void func_147121_ag() {
rightClickDelayTimer = 4;
ItemStack mainHandItem = thePlayer.inventory.getCurrentItem();
ItemStack offhandItem = BackhandUtils.getOffhandItem(thePlayer);
Expand Down

0 comments on commit 94a079e

Please sign in to comment.