Skip to content

Commit 30c7a5c

Browse files
committed
Forgot a bit of testing code from a while ago.
1 parent 5b1bd23 commit 30c7a5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/dimdev/dimdoors/shared/world/limbo/LimboDecay.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static Block[] getBlocksImmuneToDecay() {
7070
public static void applySpreadDecay(World world, BlockPos pos) {
7171
//Check if we randomly apply decay spread or not. This can be used to moderate the frequency of
7272
//full spread decay checks, which can also shift its performance impact on the game.
73-
//if (random.nextInt(MAX_DECAY_SPREAD_CHANCE) < DECAY_SPREAD_CHANCE) {
73+
if (random.nextInt(MAX_DECAY_SPREAD_CHANCE) < DECAY_SPREAD_CHANCE) {
7474
//Apply decay to the blocks above, below, and on all four sides.
7575
//World.getBlockId() implements bounds checking, so we don't have to worry about reaching out of the world
7676
decayBlock(world, pos.up());
@@ -79,7 +79,7 @@ public static void applySpreadDecay(World world, BlockPos pos) {
7979
decayBlock(world, pos.south());
8080
decayBlock(world, pos.west());
8181
decayBlock(world, pos.east());
82-
//}
82+
}
8383
}
8484

8585
/**

0 commit comments

Comments
 (0)