Skip to content

Commit

Permalink
Fixed HudRender & changed to TickMixin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
The2019 committed Oct 31, 2023
1 parent e11aa98 commit 286919d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/client/java/net/The2019/NewBase/NewBaseClient.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.The2019.NewBase;

import net.The2019.NewBase.render.HudRender;
import net.The2019.NewBase.utils.PermsionLevel;
import net.fabricmc.api.ClientModInitializer;

Expand All @@ -11,5 +12,7 @@ public class NewBaseClient implements ClientModInitializer {
public void onInitializeClient() {
PermsionLevel.init();
PermsionLevel.isPlayerAllowed();

HudRender.hudRendering();
}
}
5 changes: 3 additions & 2 deletions src/client/java/net/The2019/NewBase/mixin/TickMixin.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.The2019.NewBase.mixin;

import net.The2019.NewBase.features.*;
import net.The2019.NewBase.features.AutoCrystal;
import net.The2019.NewBase.features.Placer;
import net.The2019.NewBase.features.hudDisplays.BiomDisplay;
import net.The2019.NewBase.features.hudDisplays.CoordinatesDisplay;
import net.The2019.NewBase.features.hudDisplays.FpsDisplay;
Expand All @@ -13,7 +14,7 @@
@Mixin(MinecraftClient.class)
public class TickMixin {

@Inject(at = @At("HEAD"), method = "tick")
@Inject(at = @At("HEAD"), method = "tick")
private void onTick(CallbackInfo ci){
AutoCrystal.autoCrystal();
BiomDisplay.biomDisplay();
Expand Down

0 comments on commit 286919d

Please sign in to comment.