NMS Code to Send Chunk Update

Discussion in 'Plugin Development' started by ERROR372, Dec 6, 2013.

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


    So I've been working on a biome changer (since BiomeEdit is outdated), but the problem I have is that the chunks don't update for the player until they disconnect and reconnect. According to the bukkit api, World.refreshChunk(x, z) is supposed to send such a change to the client, but it does not. So I looked at how to do it via NMS code. Found this: https://forums.bukkit.org/threads/solved-sending-chunk-updates-to-clients.68735/

    I used the code there, but nothing. Still only updates when I reconnect. I'm using 1.7.2 bukkit and craftbukkit jars, for reference.

    Please anyone who may know why. I can post my code if need be.
  2. 1.7.2 is a dev build- if there's a refreshChunk API call that is working in 1.6 and not 1.7, it's probably better to wait for the 1.7 fix than trying to work-around it in the meantime.

    Just my 2c!
Thread Status:
Not open for further replies.

Share This Page