Cap chunk generation to 1 chunk per tick (configurable)
This commit is contained in:
@ -11,7 +11,15 @@
|
||||
|
||||
import com.google.common.base.Joiner;
|
||||
import com.google.common.base.Strings;
|
||||
@@ -282,6 +286,7 @@
|
||||
@@ -245,6 +249,7 @@
|
||||
public void onPostServerTick()
|
||||
{
|
||||
bus().post(new TickEvent.ServerTickEvent(Phase.END));
|
||||
+ kcauldron.ChunkGenerator.INSTANCE.chunkGeneratorCycle(); // KCauldron
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -282,6 +287,7 @@
|
||||
{
|
||||
Loader.instance().serverStarted();
|
||||
sidedDelegate.allowLogins();
|
||||
@ -19,7 +27,7 @@
|
||||
}
|
||||
|
||||
public void handleServerStopping()
|
||||
@@ -385,10 +390,11 @@
|
||||
@@ -385,10 +391,11 @@
|
||||
{
|
||||
return;
|
||||
}
|
||||
@ -32,7 +40,7 @@
|
||||
handlerSet.add(handler);
|
||||
handlerToCheck = new WeakReference<SaveHandler>(handler); // for confirmBackupLevelDatUse
|
||||
Map<String,NBTBase> additionalProperties = Maps.newHashMap();
|
||||
@@ -496,7 +502,13 @@
|
||||
@@ -496,7 +503,13 @@
|
||||
|
||||
public String getModName()
|
||||
{
|
||||
@ -47,7 +55,7 @@
|
||||
modNames.add("fml");
|
||||
if (!noForge)
|
||||
{
|
||||
@@ -540,8 +552,17 @@
|
||||
@@ -540,8 +553,17 @@
|
||||
bus().post(new InputEvent.KeyInputEvent());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user