@@ -1047,7 +1047,10 @@ public class dimHelper extends DimensionManager
|
|||||||
//TODO change from saving serialized objects to just saving data for compatabilies sake.
|
//TODO change from saving serialized objects to just saving data for compatabilies sake.
|
||||||
public void save()
|
public void save()
|
||||||
{
|
{
|
||||||
if(!this.isSaving&&!DimensionManager.getWorld(0).isRemote&&this.getCurrentSaveRootDirectory()!=null)
|
if(this.isSaving) return;
|
||||||
|
World world = DimensionManager.getWorld(0);
|
||||||
|
if(world==null || world.isRemote) return;
|
||||||
|
if(this.getCurrentSaveRootDirectory()!=null)
|
||||||
{
|
{
|
||||||
//System.out.println("saving");
|
//System.out.println("saving");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user