Skip to content

Commit

Permalink
Fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
hibiii committed Jun 8, 2023
1 parent 68444ed commit 9908d95
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/hibi/boathud/mixin/InGameHudMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
public class InGameHudMixin {
@Inject(
method = "render",
at = @At("TAIL")
at = @At(
value = "INVOKE",
target = "net/minecraft/client/MinecraftClient.getProfiler()Lnet/minecraft/util/profiler/Profiler;",
ordinal = 8
)
)
public void render(DrawContext graphics, float tickDelta, CallbackInfo info) {
if(Config.enabled && Common.ridingBoat && !(Common.client.currentScreen instanceof ChatScreen)) {
Expand Down

0 comments on commit 9908d95

Please sign in to comment.