Remove broken chunkSaveEvent, was actually chunkUnloadEvent
This commit is contained in:
@@ -64,8 +64,6 @@ public class SharedApi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//=============//
|
||||
// constructor //
|
||||
//=============//
|
||||
@@ -143,7 +141,17 @@ public class SharedApi
|
||||
public void chunkBlockChangedEvent(IChunkWrapper chunk, ILevelWrapper level) { this.applyChunkUpdate(chunk, level, true); }
|
||||
|
||||
public void chunkLoadEvent(IChunkWrapper chunk, ILevelWrapper level) { this.applyChunkUpdate(chunk, level, false); }
|
||||
public void chunkSaveEvent(IChunkWrapper chunk, ILevelWrapper level) { this.applyChunkUpdate(chunk, level, false); }
|
||||
public void chunkUnloadEvent(IChunkWrapper chunk, ILevelWrapper level)
|
||||
{
|
||||
// temporarily disabled since this was originally incorrectly designated as "chunkSaveEvent"
|
||||
// but didn't actually fire on chunk save
|
||||
// and generally this is unnecessary and drastically reduces LOD building performance
|
||||
// when traveling around the world
|
||||
if (false)
|
||||
{
|
||||
this.applyChunkUpdate(chunk, level, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void applyChunkUpdate(IChunkWrapper chunkWrapper, ILevelWrapper level, boolean updateNeighborChunks)
|
||||
|
||||
Reference in New Issue
Block a user