Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Oct 24, 2024
1 parent 6805701 commit 1b85ad5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,9 @@ public void render(
}
//#else
//$$ if (relX < 32 && relX > 16) {
//$$ blit(context, GUI_SERVER_SELECTION_LOCATION, x, y, 0.0F, 32.0F, 32, 32, 256, 256);
//$$ blit(context, GUI_SERVER_SELECTION_LOCATION, x, y, 0, 32, 32, 32, 256, 256);
//$$ } else {
//$$ blit(context, GUI_SERVER_SELECTION_LOCATION, x, y, 0.0F, 0.0F, 32, 32, 256, 256);
//$$ blit(context, GUI_SERVER_SELECTION_LOCATION, x, y, 0, 0, 32, 32, 256, 256);
//$$ }
//#endif
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.github.gaming32.worldhost.mixin;

import net.minecraft.client.DeltaTracker;
import net.minecraft.client.renderer.GameRenderer;
import org.spongepowered.asm.mixin.Mixin;

Expand All @@ -20,6 +19,10 @@
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
//#endif

//#if MC >= 1.21.1
import net.minecraft.client.DeltaTracker;
//#endif

@Mixin(GameRenderer.class)
public class MixinGameRenderer {
//#if MC >= 1.19.4
Expand Down

0 comments on commit 1b85ad5

Please sign in to comment.