Move last PR into single event handlers
Also includes a var in the main class for if we're running in an obf env or not. Use this for debugging
This commit is contained in:
parent
151a0285ff
commit
a056835a31
6 changed files with 136 additions and 168 deletions
|
@ -7,6 +7,7 @@ import WayofTime.bloodmagic.util.handler.IMCHandler;
|
|||
import lombok.Getter;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.launchwrapper.Launch;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
import net.minecraftforge.fml.common.SidedProxy;
|
||||
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
||||
|
@ -57,6 +58,9 @@ public class BloodMagic
|
|||
}
|
||||
};
|
||||
|
||||
@Getter
|
||||
private static boolean isDev = (Boolean) Launch.blackboard.get("fml.deobfuscatedEnvironment");
|
||||
|
||||
private LogHelper logger = new LogHelper(Constants.Mod.MODID);
|
||||
private File configDir;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue