blob: 4a46232e2663f91ec9dc510f21d9d68e21de4fdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package darkknight.jewelrycraft.curses;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import darkknight.jewelrycraft.lib.Reference;
public class CurseList
{
private static Curse rotten, flaming, blind, greed;
private static boolean isInitialized = false;
/**
* @param e
*/
public static void preInit(FMLPreInitializationEvent e)
{
if (!isInitialized){
rotten = new CurseRottenHeart(0, Reference.MODNAME + ":" + "Rotten Heart", 0);
flaming = new CurseFlamingSoul(1, Reference.MODNAME + ":" + "Flaming Soul", 0);
greed = new CurseGreed(2, Reference.MODNAME + ":" + "Greed", 0);
blind = new CurseBlind(3, Reference.MODNAME + ":" + "Blind", 0);
isInitialized = true;
}
}
}
|