Transient Portals generate again!

- However now the game crashes on their generation, which probably has something to do with the recently added Cubic Chunks support.
This commit is contained in:
Robijnvogel 2018-01-22 06:06:10 +01:00
parent 86eacc4177
commit 0e41140216

View file

@ -89,7 +89,7 @@ public class GatewayGenerator implements IWorldGenerator {
// Check if we can place a Rift Gateway in this dimension, then randomly decide whether to place one.
// This only happens if a rift cluster was NOT generated.
else if (!clusterGenerated && Config.getRiftGatewayDimensions().isAccepted(dimensionID)) {
if (!clusterGenerated && Config.getRiftGatewayDimensions().isAccepted(dimensionID)) {
double gatewayGenChance = Config.getGatewayGenerationChance();
while (gatewayGenChance > 0.0) {
if (random.nextDouble() < gatewayGenChance) {