Fix up @Instance: it should refer to the mod in a multimod package

This commit is contained in:
Christian 2012-08-26 14:27:37 -04:00
parent 2c401220c1
commit 8d05d476f6
6 changed files with 6 additions and 6 deletions

View file

@ -106,7 +106,7 @@ public class BuildCraftBuilders {
private static LinkedList<IBuilderHook> hooks = new LinkedList<IBuilderHook>();
@Instance
@Instance("BuildCraft|Builders")
public static BuildCraftBuilders instance;
@Init

View file

@ -133,7 +133,7 @@ public class BuildCraftCore {
public static Logger bcLog = Logger.getLogger("Buildcraft");
@Instance
@Instance("BuildCraft|Core")
public static BuildCraftCore instance;
@PreInit

View file

@ -81,7 +81,7 @@ public class BuildCraftEnergy {
EnergyStage.Yellow);
public static Trigger triggerRedEngineHeat = new TriggerEngineHeat(DefaultProps.TRIGGER_RED_ENGINE_HEAT, EnergyStage.Red);
@Instance
@Instance("BuildCraft|Energy")
public static BuildCraftEnergy instance;
@Init

View file

@ -73,7 +73,7 @@ public class BuildCraftFactory {
public static boolean allowMining = true;
@Instance
@Instance("BuildCraft|Factory")
public static BuildCraftFactory instance;
@PostInit

View file

@ -39,7 +39,7 @@ public class BuildCraftSilicon {
public static BlockLaser laserBlock;
public static BlockAssemblyTable assemblyTableBlock;
@Instance
@Instance("BuildCraft|Silicon")
public static BuildCraftSilicon instance;
@Init

View file

@ -143,7 +143,7 @@ public class BuildCraftTransport {
public static Action actionYellowSignal = new ActionSignalOutput(DefaultProps.ACTION_YELLOW_SIGNAL, IPipe.WireColor.Yellow);
public static Action actionEnergyPulser = new ActionEnergyPulser(DefaultProps.ACTION_ENERGY_PULSER);
@Instance
@Instance("BuildCraft|Transport")
public static BuildCraftTransport instance;
private static class PipeRecipe {