Update light levels?

Discussion in 'Plugin Development' started by molenzwiebel, Jun 14, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    molenzwiebel

    So, I am using desht's light level update method:
    Code:
    public static void forceBlockLightLevel(World world, int x, int y, int z, int level) {
    net.minecraft.server.v1_5_R3.World w = ((CraftWorld) world).getHandle();
    w.b(EnumSkyBlock.BLOCK, x, y, z, level);
    }
    The only problem however is that the light level client side is only updated for that block. I tried using queueChunkForUpdate, but the problem is that the client doesn't update immediately. I also tried the chunk bulk packet, but it didn't seem to work. Is there any way to refresh the light levels, but without a delay?
     
Thread Status:
Not open for further replies.

Share This Page