/// <summary> /// Save a given Chunk, recording the time in lastSaveTime /// </summary> private void SaveChunk(Chunk par1Chunk) { if (ChunkLoader == null) { return; } try { par1Chunk.LastSaveTime = WorldObj.GetWorldTime(); ChunkLoader.SaveChunk(WorldObj, par1Chunk); } catch (IOException ioexception) { Utilities.LogException(ioexception); } }
private void SaveChunkData(Chunk par1Chunk) { if (chunkLoader == null) { return; } try { par1Chunk.LastSaveTime = worldObj.GetWorldTime(); chunkLoader.SaveChunk(worldObj, par1Chunk); } catch (System.IO.IOException ioexception) { Utilities.LogException(ioexception); } }