Solved Getting error on getting player's X,Y and Z

Discussion in 'Plugin Development' started by nastasescu, Sep 11, 2014.

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

    nastasescu

    Code:java
    1. if (pemn.contains(p)) {
    2. ParticleEffect.NOTE.display(
    3. (float) ((Location) p).getX(),
    4. (float) ((Location) p).getY(),
    5. (float) ((Location) p).getZ(), 1, 1,
    6. p.getLocation(), 1.0);
    7. }

    What's wrong here? The console is spamming errors at this line D:
     
  2. nastasescu
    It doesn't look like you've modified your code at all, even though all the required information was provided in your previous thread. Go take a look.
     
  3. Offline

    nastasescu

    Resolved, i'm a fool... p.getLocation().getWhateverX/Y/Z is correct xD
     
  4. nastasescu You know it's not okay to just open the thread again after it has been closed, right?
     
  5. Offline

    ZeldoKavira

    Thread locked... again. Please do not open new threads when your previous ones were closed.
     
    nastasescu and AdamQpzm like this.
Thread Status:
Not open for further replies.

Share This Page