Changes to Rift Regeneration

Moved a little of the regeneration code to BlockRift to reduce duplicate
code. Changed RiftRegenerator to iterate over loaded worlds instead of
all worlds. Removed forced rift generation call in
EventHookContainer.onWorldLoad() - I feel it would have minimal
benefits. Rifts now drop World Thread upon regeneration. Generally
cleaned up the code in FastRiftRegenerator and RiftRegenerator.
This commit is contained in:
SenseiKiwi
2014-03-04 06:41:36 -04:00
parent 0b14dbf453
commit 310efb9781
4 changed files with 48 additions and 49 deletions

View File

@@ -135,11 +135,6 @@ public class EventHookContainer
PocketManager.load();
}
if (PocketManager.isLoaded())
{
RiftRegenerator.regenerateRiftsInAllWorlds();
}
if (event.world != null)
{
this.playMusicForDim(event.world);