Skip to content

Commit

Permalink
fix: fix up forge event handler for texture stitch post
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Oct 4, 2023
1 parent e5e0253 commit a8f3858
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
import dev.ftb.mods.ftbquests.client.FTBQuestsClientEventHandler;
import net.minecraftforge.client.event.TextureStitchEvent;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.event.IModBusEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;

public class ClientSetup {
public static void init() {
MinecraftForge.EVENT_BUS.addListener(ClientSetup::onTextureStitch);
FMLJavaModLoadingContext.get().getModEventBus().addListener(ClientSetup::onTextureStitch);
}

private static void onTextureStitch(TextureStitchEvent.Post event) {
Expand Down

0 comments on commit a8f3858

Please sign in to comment.