trying to readd all lights
This commit is contained in:
1 parent
d9aa6f15ad
commit
b9f2e68ddb
3 files changed
+22
-6
No files matched your search
@@ -2955,7 +2955,9 @@ public class CarpetExpression
|
||||
BlockArgument locator = BlockArgument.findIn(cc, lv, 0);
|
||||
BlockPos pos = locator.block.getPos();
|
||||
ServerWorld world = cc.s.getWorld();
|
||||
((ServerLightingProviderInterface)world.getChunkManager().getLightingProvider()).resetLight(new ChunkPos(pos)); //light(world.getChunk(pos), false);
|
||||
((ServerLightingProviderInterface)world.getChunkManager().getLightingProvider()).resetLight(world.getChunk(pos), new ChunkPos(pos)); //light(world.getChunk(pos), false);
|
||||
forceChunkUpdate(pos, world);
|
||||
world.getChunkManager().getLightingProvider().light(world.getChunk(pos), false);
|
||||
return LazyValue.TRUE;
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user