Skip to content

Commit

Permalink
Small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Sep 27, 2022
1 parent afd0dd6 commit 561ec0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ minecraft_version=1.19.2
yarn_mappings=1.19.2+build.18
loader_version=0.14.9
# Mod Properties
mod_version=0.1.1
mod_version=0.1.2
maven_group=io.github.gaming32
archives_base_name=niceload
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.mojang.logging.LogUtils;
import io.github.gaming32.niceload.api.NiceLoad;
import net.fabricmc.loader.api.entrypoint.PreLaunchEntrypoint;
import net.minecraft.client.render.block.entity.BlockEntityRenderDispatcher;
import org.slf4j.Logger;

import java.io.IOException;
Expand All @@ -26,8 +27,8 @@ public void onPreLaunch() {
} catch (IOException e) {
throw new UncheckedIOException(e);
}
NiceLoad.registerReloader("BlockEntityRenderDispatcher");
NiceLoad.registerReloader("EntityRenderDispatcher");
NiceLoad.registerReloader(BlockEntityRenderDispatcher.class.getSimpleName());
NiceLoad.registerReloader(BlockEntityRenderDispatcher.class.getSimpleName());
}

public static NiceLoadMod getInstance() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"depends": {
"fabricloader": ">=0.14.9",
"fabric-resource-loader-v0": "*",
"minecraft": ">=1.19.2"
"minecraft": ">=1.19"
}
}

0 comments on commit 561ec0a

Please sign in to comment.