Fix black chunks on fabric 1.20.2
This commit is contained in:
+3
-1
@@ -32,7 +32,9 @@ public class MixinChunkMap
|
||||
private void onChunkSave(ChunkAccess chunk, CallbackInfoReturnable<Boolean> ci)
|
||||
{
|
||||
// corrupt/incomplete chunk validation
|
||||
#if MC_1_18_2 || MC_1_19_2 || MC_1_19_4 || MC_1_20_1
|
||||
#if MC_1_16_5 | MC_1_17_1
|
||||
// no validation necessary
|
||||
#else
|
||||
// MC has a tendency to try saving incomplete or corrupted chunks (which show up as empty or black chunks)
|
||||
// this should prevent that from happening
|
||||
if (chunk.isUnsaved() || chunk.isUpgrading() || !chunk.isLightCorrect())
|
||||
|
||||
Reference in New Issue
Block a user