Fixed Infused downwards gen

This commit is contained in:
Niels Vergucht 2018-12-14 14:05:25 +01:00
parent 96bebe5409
commit d577a3c3c9

View File

@ -36,8 +36,7 @@ public class Infused extends Genbucket {
if (side2 && !gravityGenInfused(blocksPlaced, getBlockFace().getOppositeFace())) {
side2 = false;
}
}
} else {
if ((!side1 && !side2) || blocksPlaced >= epicBuckets.getConfigManager().getMaxVerticalHeight()) {
epicBuckets.getGenbucketManager().unregisterGenbucketForPlayer(getOwner(), getGenUUID());
cancel();
@ -51,6 +50,7 @@ public class Infused extends Genbucket {
}
blocksPlaced++;
}
}
};
setGeneration(runnable.runTaskTimer(EpicBuckets.getInstance(), 0, epicBuckets.getConfigManager().getDelay()));
}