BukkitRunnables and spawnFallingBlocks

Discussion in 'Spigot Plugin Development' started by DrPlado, May 7, 2015.

  1. Spawning falling blocks works perfectly fine but if it inside of a Runnable(whether that is threw 3 other methods) this error is still happening. If you need more details feel free to ask. Thank you in advance!
     

    Attached Files:

  2. You cannot add entities in a async thread
     
  3. What if I used a method that I created? Then how would I pull this off?
     
  4. @DrPlado run the task synchronous (using runTask / runTaskLater / runTaskTimer) rather than asynchronous (runTaskAsynchronous / runTaskLaterAsynchronously / runTaskTimerAsynchronously)
     
    • Agree Agree x 2
  5. Thank you soo much :)