Use Debug.out() instead of System.out.println()
parent
27d19f57f0
commit
643cef87a7
|
@ -5,6 +5,7 @@ import lostcave.deathchests.util.Config;
|
|||
import lostcave.deathchests.util.Debug;
|
||||
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
|
@ -39,18 +40,19 @@ public class DeathChests {
|
|||
|
||||
@EventHandler
|
||||
public void init(FMLPreInitializationEvent event) {
|
||||
System.out.println("Received FMLPreInitializationEvent");
|
||||
Debug.out("Received FMLPreInitializationEvent");
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event) {
|
||||
System.out.println("Received FMLInitializationEvent");
|
||||
Debug.out("Received FMLInitializationEvent");
|
||||
GameRegistry.registerBlock(new BlockDeathChest(), "death_chest");
|
||||
// TODO (probably here): Add death event handler
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLPostInitializationEvent event) {
|
||||
System.out.println("Received FMLPostInitializationEvent");
|
||||
Debug.out("Received FMLPostInitializationEvent");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue