Fixes #3286: Incorrectly inverted hasSkyLight causes crashes on spatial transfer. (#3299)

This commit is contained in:
yueh
2017-12-31 13:06:08 +01:00
committed by GitHub
parent 98142d8ade
commit 45878df17d
@@ -418,7 +418,7 @@ public class CachedPlane
ExtendedBlockStorage extendedblockstorage = storage[by];
if( extendedblockstorage == null )
{
extendedblockstorage = storage[by] = new ExtendedBlockStorage( by << 4, !this.c.getWorld().provider.hasSkyLight() );
extendedblockstorage = storage[by] = new ExtendedBlockStorage( by << 4, this.c.getWorld().provider.hasSkyLight() );
}
}
}