Belphemur/AdminCmd — comment on commit 02b9fb27febec3deadc93f5085178e84bca02d98
File:  line 0
By Belphemur:

@md-5 well it's because every admincmd command are done in separated thread. Meaning accessing a resource that is not thread safe, like a Minecraft world, can pose some problems. Example, another plugin is removing items dropped by checking all entities, if we add an entity in the list while the other plugin is iterating on it, it will throw a concurrency exception and make the server crash.