PacketPlayOutUpdateSign - symbol not found with 1.9.4

Discussion in 'Spigot Help' started by Fahrenheit451, May 18, 2016.

  1. Fahrenheit451


    Hi folks. Having a spot of bother compiling for 1.9.4 and not being able to find the method PacketPlayOutUpdateSign. Does anyone know if there's an alternative routine to use to update a sign for a player? The sign and text is used to trigger a set of events, which can't happen without this packet being sent.

    This is the key two lines:

    Code (Text):
    PacketPlayOutUpdateSign packet = new PacketPlayOutUpdateSign(w, new BlockPosition(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()), components);
    ((CraftPlayer) p).getHandle().playerConnection.sendPacket(packet);
  2. md_5

    Administrator Developer

    Yes, the api method in player, conveniently named something along the lines of sendSignUpdate.
  3. Fahrenheit451


    Absolutely superb! Thanks a lot for the prompt reply (and apologies for posting to the wrong forum).