Solved Set line on sign from saved location

Discussion in 'Plugin Development' started by gamingod, Apr 17, 2014.

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

    gamingod

    Hello,
    So in my plugin I have it save the location of a sign when it is created, I wanted to know to so set lines of that sign, I tried to use
    but it got an error and if I do
    but then it does not set the sign. I have tried teleporting to the location in-game and it is the sign so there is nothing wrong with setting it, please help!

    bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  2. Offline

    Plo124

    gamingod
    Please dont bump within 24 hours.

    Try setting the block to something like Bedrock to see you are getting the right block(s).
     
  3. Offline

    gamingod

    Sorry, I dont usually bump posts (first time actually :p) but I just really wanted to get this solved, I will try that, thanks!

    Plo124 it gets the error here:
    This is where is sets it:
    Also, SettingsManager is basicly just a config, that is not where the bug is coming from

    Found the bug, it wasn't any of those things, it was this:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  4. Offline

    Plo124

    gamingod
    Mark thread as solved.

    Also, for the getDouble(), make it getInt() and make the type of variable an int too, because we are talking about the location of a block, not to a decimal.
     
    gamingod likes this.
Thread Status:
Not open for further replies.

Share This Page