Client-side blocks not working

Discussion in 'Plugin Development' started by Darkpicasa, Nov 5, 2014.

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

    Darkpicasa

    I've tried using the command p.sendBlockChange(location, Material.GOLD_BLOCK, (byte) 0);
    p is a Player variable, and location is a location variable.
    It works, but disappears instantaneously...
    If I encounter lag for a second, then I can see it for a second - otherwise it goes away so fast that I can't even see it come...
     
  2. Offline

    Barinade

    Send the changes repeatedly or tweak the packet
     
  3. Offline

    SmellyPenguin

    It only sends the block change for one tick and gets overwritten/updated by newer packets that the server sends the client. You have to create a task that sends the block change every tick or simply block the correct packets.
     
Thread Status:
Not open for further replies.

Share This Page