Skip to content

Commit

Permalink
classloading bs
Browse files Browse the repository at this point in the history
  • Loading branch information
MehVahdJukaar committed Jan 22, 2025
1 parent 348b1d7 commit cbbff12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static void init() {
ClientHelper.addBlockEntityRenderersRegistration(EveryCompatClient::registerBlockEntityRenderers);
ClientHelper.addBlockColorsRegistration(EveryCompatClient::registerBlockColors);
ClientHelper.addItemColorsRegistration(EveryCompatClient::registerItemColors);
ClientDynamicResourcesHandler.INSTANCE.register();
ClientDynamicResourcesHandler.init();
}

private static void registerBlockColors(ClientHelper.BlockColorEvent event) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@

public class ClientDynamicResourcesHandler extends DynClientResourcesGenerator {

public static final ClientDynamicResourcesHandler INSTANCE = new ClientDynamicResourcesHandler();
public static ClientDynamicResourcesHandler INSTANCE;

public static void init(){
INSTANCE = new ClientDynamicResourcesHandler();
INSTANCE.register();
}

private static boolean init = false;

Expand Down

0 comments on commit cbbff12

Please sign in to comment.