Added Dirty Flag
Added a flag to NewDimData so that we can avoid writing dimensions to disk if they haven't been modified. They're still rewritten when the server shuts down.
This commit is contained in:
@@ -185,7 +185,7 @@ public class EventHookContainer
|
||||
{
|
||||
if (event.world.provider.dimensionId == 0)
|
||||
{
|
||||
PocketManager.save();
|
||||
PocketManager.save(true);
|
||||
|
||||
if (mod_pocketDim.deathTracker != null && mod_pocketDim.deathTracker.isModified())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user