Fixed NPE in yCoordHelper, Other Bugs, Reimplemented Limbo Decay #52

Merged
SenseiKiwi merged 8 commits from 1.4.1fixes into master 2013-07-26 19:32:37 +00:00
Showing only changes of commit 984755f920 - Show all commits

View File

@@ -27,6 +27,7 @@ public class CommonTickHandler implements ITickHandler
private static final int MAX_MONOLITH_SPAWN_Y = 245; private static final int MAX_MONOLITH_SPAWN_Y = 245;
private static final int CHUNK_SIZE = 16; private static final int CHUNK_SIZE = 16;
private static final int RIFT_REGENERATION_INTERVAL = 100; //Regenerate random rifts every 100 ticks private static final int RIFT_REGENERATION_INTERVAL = 100; //Regenerate random rifts every 100 ticks
private static final int LIMBO_DECAY_INTERVAL = 10; //Apply spread decay every 10 ticks
public CommonTickHandler() public CommonTickHandler()
{ {
@@ -220,7 +221,10 @@ public class CommonTickHandler implements ITickHandler
regenerateRifts(); regenerateRifts();
} }
if (tickCount % LIMBO_DECAY_INTERVAL == 0)
{
LimboDecay.ApplyRandomFastDecay(); LimboDecay.ApplyRandomFastDecay();
}
if (mod_pocketDim.teleTimer > 0) if (mod_pocketDim.teleTimer > 0)
{ {