Chunk Regeneration Problem

Discussion in 'Plugin Development' started by Zelnehlun, Apr 24, 2012.

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

    Zelnehlun

    Hello Bukkit Community,
    I have a weird problem while regenerating chunks, I am using the following code (ignore the "final" in front of the variables):

    Code:
    final World world = chunk.getWorld();
                        final int x = chunk.getX();
                        final int z = chunk.getZ();
                       
                        world.regenerateChunk(x, z);
                        world.refreshChunk(x, z);
    Using this in a command does nothing at first, when reconnecting I see the regenerated chunk.
    Although I am using refreshChunk() which should usually send the updated chunk to all players?
     
Thread Status:
Not open for further replies.

Share This Page