Fix chunk break/place events not triggering fabric updates post MC 1.17

This commit is contained in:
James Seibel
2024-01-07 15:00:53 -06:00
parent aa6cbd1b7d
commit 0d65578e6a
@@ -37,7 +37,7 @@ public class MixinChunkMap
// MC has a tendency to try saving incomplete or corrupted chunks (which show up as empty or black chunks)
// this logic should prevent that from happening
#if MC_1_16_5 || MC_1_17_1
#if MC_VER == MC_1_16_5 || MC_VER == MC_1_17_1
if (chunk.isUnsaved() || chunk.getUpgradeData() != null || !chunk.isLightCorrect())
{
return;