Error calling entities_in_radius

Discussion in 'CommandHelper' started by VergilPrime, Jan 29, 2018.

  1. VergilPrime

    VergilPrime New Member

    Last edited: Jan 29, 2018
  2. PseudoKnight

    PseudoKnight Well-Known Member Developer

    Almost all Minecraft functions are not thread-safe. If you ever see a ConcurrentModificationException, you know it's a threading issue. Remove the thread functions and it should be fine.

    I could give you more tips, if you like. There are ways to optimize that code so that it runs faster on the main thread.