We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
forceOriginal
1 parent 1496114 commit 1e30af3Copy full SHA for 1e30af3
src/Terrain.cs
@@ -130,10 +130,19 @@ bool forceOriginal
130
{
131
lock (patchedBatches)
132
133
- if (!patchedBatches.ContainsKey(batchId) || forceOriginal)
+ if (!patchedBatches.ContainsKey(batchId))
134
135
RegisterNewBatch(batchId);
136
}
137
+ else if (forceOriginal)
138
+ {
139
+ Mod.LogWarning(
140
+ $"Patch '{patchName}' forcefully resetting batch "
141
+ + "[{batchId.x}, {batchId.y}, {batchId.z}]!"
142
+ );
143
+
144
+ RegisterNewBatch(batchId);
145
+ }
146
147
148
PatchOctrees(patchName, batchId, patch);
0 commit comments