mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-05 00:28:33 +01:00
that debugging was absolutely useless
This commit is contained in:
parent
bf143348f2
commit
ae636b98af
3 changed files with 5 additions and 5 deletions
|
@ -49,8 +49,6 @@ public class StubHooks implements NaturesAuraAPI.IInternalHooks {
|
|||
|
||||
@Override
|
||||
public IMultiblock createMultiblock(ResourceLocation name, String[][] pattern, Object... rawMatchers) {
|
||||
NaturesAura.LOGGER.info("WHAT?? ");
|
||||
Thread.dumpStack();
|
||||
return new StubMultiblock();
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ public class Multiblock implements IMultiblock {
|
|||
private final char[][][] rawPattern;
|
||||
|
||||
public Multiblock(ResourceLocation name, String[][] pattern, Object... rawMatchers) {
|
||||
NaturesAura.LOGGER.info("We're initializing a multiblock with name " + name + " now...");
|
||||
this.name = name;
|
||||
|
||||
int width = -1;
|
||||
|
@ -105,7 +104,6 @@ public class Multiblock implements IMultiblock {
|
|||
}
|
||||
|
||||
PatchouliCompat.addPatchouliMultiblock(name, pattern, rawMatchers);
|
||||
NaturesAura.LOGGER.info("We're done with this one");
|
||||
NaturesAuraAPI.MULTIBLOCKS.put(this.name, this);
|
||||
}
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ import net.minecraftforge.common.MinecraftForge;
|
|||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||
import net.minecraftforge.fml.client.config.GuiUtils;
|
||||
import vazkii.patchouli.api.BookDrawScreenEvent;
|
||||
import vazkii.patchouli.api.IMultiblock;
|
||||
import vazkii.patchouli.api.PatchouliAPI;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
@ -113,7 +114,10 @@ public class PatchouliCompat implements ICompat {
|
|||
state -> check.matches(null, null, null, null, state, (char) 0));
|
||||
}
|
||||
}
|
||||
PatchouliAPI.instance.registerMultiblock(name, PatchouliAPI.instance.makeMultiblock(pattern, rawMatchers));
|
||||
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();
|
||||
}
|
||||
|
||||
public static <T> T getRecipe(Map<ResourceLocation, T> recipes, String name) {
|
||||
|
|
Loading…
Reference in a new issue