ArmorStand Teleporting Extreme Delay

Discussion in 'Spigot Plugin Development' started by Cosmicluck, Apr 25, 2017.

  1. So I am quite confused as to what is going on. I am trying to teleport an armorstand for a test, just about half a block or so, but my problem is that for some reason after I teleport it the armorstand takes about a minute to move. I have never had this issue before, and it's not a FPS issue.

    Teleport code (where "main" is the armorstand I am trying to teleport):
    Code (Text):
    main.teleport(main.getLocation().add(0.6, 0, 0));
    I have also tried setting a velocity to the armorstand to make it more fluid, but that doesn't work at all:
    Code (Text):
    main.setVelocity(new Vector(0.2, 0, 0));
    The velocity doesn't work no matter how high I set it, just so you know.

    I really need to know what is going on, I can't understand why all of a sudden it's doing this!

    Thank you,
  2. What causes it to teleport? Is it a command you issue? A runnable?

    Sent from my iPhone using Tapatalk
  3. When I execute a command it summons the stand and then teleports it. I actually have a debug message that does appear right after the stand teleports, so the code is working and there isn't any delays. The problem is it takes about a minute to actually teleport for some reason.