- Tested against Server-Client environment & fixxed issues there.

- AuraPylon effect for Vitium and the taintplosion now listen to TC config
This commit is contained in:
HellFirePvP committed 2016-06-06 09:06:49 +02:00
1 parent ea15ad5c9f
commit ff26bad7fb
6 files changed
+38 -24

No files matched your search

@@ -18,6 +18,7 @@ import net.minecraft.world.World;
import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.aspects.AspectList;
import thaumcraft.common.Thaumcraft;
import thaumcraft.common.config.Config;
import thaumcraft.common.config.ConfigBlocks;
import thaumcraft.common.lib.utils.Utils;
import thaumcraft.common.lib.world.ThaumcraftWorldGenerator;
@@ -53,6 +54,8 @@ public class ExplosionHelper {
world.setBlock(xx, yy, zz, ConfigBlocks.blockFluxGas, 8, 3);
}
}
if(!Config.genTaint) continue;
if(taintBiome && world.rand.nextInt(chanceToTaint) == 0) {
Utils.setBiomeAt(world, xx, zz, ThaumcraftWorldGenerator.biomeTaint);
}