Skip to content

Commit

Permalink
Fixed performance issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinRepo committed May 7, 2022
1 parent f2b0c14 commit 4842292
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class MixinInGameHud {

@Shadow @Final private static Identifier POWDER_SNOW_OUTLINE;

@Inject(method = "render", at = @At(value = "INVOKE", target = "net/minecraft/scoreboard/Scoreboard.getObjectiveForSlot(I)Lnet/minecraft/scoreboard/ScoreboardObjective;"))
@Inject(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/option/KeyBinding;isPressed()Z"))
public void draw(MatrixStack matrixStack, float float_1, CallbackInfo ci) {
try {
new EventRender2D(matrixStack).run();
Expand Down

0 comments on commit 4842292

Please sign in to comment.