Skip to content

Commit

Permalink
Update ModelLoader.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-OOG-ah committed Jan 12, 2025
1 parent 40f2210 commit 6ad7209
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import com.google.gson.GsonBuilder;
import com.gtnewhorizon.gtnhlib.GTNHLib;
import com.gtnewhorizon.gtnhlib.client.model.json.JsonModel;
import com.gtnewhorizon.gtnhlib.client.renderer.quad.QuadProvider;
import com.gtnewhorizon.gtnhlib.util.Callback;

import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap;
Expand Down Expand Up @@ -120,7 +119,7 @@ public static void bakeModels() {
for (Callback c : postBakeCallbacks) c.run();
}

public static QuadProvider getModel(ModelVariant loc) {
public static JsonModel getModel(ModelVariant loc) {
return modelsToBake.get(loc);
}

Expand Down

0 comments on commit 6ad7209

Please sign in to comment.