Fix spawner config

This commit is contained in:
Aidan C. Brady 2014-01-15 10:43:11 -05:00
parent 5e775a9c8a
commit b89349894e

View file

@ -208,10 +208,10 @@ public class CommonProxy
if(Mekanism.cardboardSpawners) if(Mekanism.cardboardSpawners)
{ {
MekanismAPI.cardboardBoxIgnore.add(new BlockInfo(Block.mobSpawner.blockID, 0)); MekanismAPI.cardboardBoxIgnore.remove(new BlockInfo(Block.mobSpawner.blockID, 0));
} }
else { else {
MekanismAPI.cardboardBoxIgnore.remove(new BlockInfo(Block.mobSpawner.blockID, 0)); MekanismAPI.cardboardBoxIgnore.add(new BlockInfo(Block.mobSpawner.blockID, 0));
} }
Mekanism.enrichmentChamberUsage = Mekanism.configuration.get("usage", "EnrichmentChamberUsage", 50D).getDouble(50D); Mekanism.enrichmentChamberUsage = Mekanism.configuration.get("usage", "EnrichmentChamberUsage", 50D).getDouble(50D);
@ -407,10 +407,10 @@ public class CommonProxy
{ {
if(Mekanism.cardboardSpawners) if(Mekanism.cardboardSpawners)
{ {
MekanismAPI.cardboardBoxIgnore.add(new BlockInfo(Block.mobSpawner.blockID, 0)); MekanismAPI.cardboardBoxIgnore.remove(new BlockInfo(Block.mobSpawner.blockID, 0));
} }
else { else {
MekanismAPI.cardboardBoxIgnore.remove(new BlockInfo(Block.mobSpawner.blockID, 0)); MekanismAPI.cardboardBoxIgnore.add(new BlockInfo(Block.mobSpawner.blockID, 0));
} }
System.out.println("[Mekanism] Received config from server."); System.out.println("[Mekanism] Received config from server.");