mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-04 16:28:33 +01:00
willie to the rescue!
This commit is contained in:
parent
ae636b98af
commit
df4a6ed917
1 changed files with 2 additions and 4 deletions
|
@ -17,6 +17,7 @@ import net.minecraftforge.api.distmarker.Dist;
|
|||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||
import net.minecraftforge.fml.DeferredWorkQueue;
|
||||
import net.minecraftforge.fml.client.config.GuiUtils;
|
||||
import vazkii.patchouli.api.BookDrawScreenEvent;
|
||||
import vazkii.patchouli.api.IMultiblock;
|
||||
|
@ -114,10 +115,7 @@ public class PatchouliCompat implements ICompat {
|
|||
state -> check.matches(null, null, null, null, state, (char) 0));
|
||||
}
|
||||
}
|
||||
NaturesAura.LOGGER.info("The patchouli API is " + PatchouliAPI.instance);
|
||||
IMultiblock out = PatchouliAPI.instance.registerMultiblock(name, PatchouliAPI.instance.makeMultiblock(pattern, rawMatchers));
|
||||
NaturesAura.LOGGER.info(out);
|
||||
Thread.dumpStack();
|
||||
DeferredWorkQueue.runLater(() -> PatchouliAPI.instance.registerMultiblock(name, PatchouliAPI.instance.makeMultiblock(pattern, rawMatchers)));
|
||||
}
|
||||
|
||||
public static <T> T getRecipe(Map<ResourceLocation, T> recipes, String name) {
|
||||
|
|
Loading…
Reference in a new issue