Solved Armorstand in ground?

Discussion in 'Spigot Plugin Development' started by avighnash, May 12, 2016.

Thread Status:
Not open for further replies.
  1. Hello! I had a question about armorstands. I want to make it so the armorstand would spawn in the ground. How would I do this? I have tried getting the location of a player and making subtracting the z by 2, but that does not work (meaning it is underlined with red). So what should I do?

    Thanks!
     
  2. Please can you post your code? You should be able to do it as you said probably using the "add" method of the Location object.
     
  3. MiniDigger

    Supporter

    show us the code and the actual error your ide gives you.
    location has a subtract add method, use that for substracting.
     
  4. Oh lol, this is what I needed xD I am soo stupid.
     
Thread Status:
Not open for further replies.