mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
setLocation should be synchronized
This commit is contained in:
parent
eff203c3b8
commit
505af853bd
@ -436,8 +436,8 @@ public class BukkitChunk_1_14 extends IntFaweChunk<Chunk, BukkitQueue_1_14> {
|
|||||||
}
|
}
|
||||||
entity.f(tag);
|
entity.f(tag);
|
||||||
}
|
}
|
||||||
entity.setLocation(x, y, z, yaw, pitch);
|
|
||||||
synchronized (BukkitQueue_0.class) {
|
synchronized (BukkitQueue_0.class) {
|
||||||
|
entity.setLocation(x, y, z, yaw, pitch);
|
||||||
nmsWorld.addEntity(entity, CreatureSpawnEvent.SpawnReason.CUSTOM);
|
nmsWorld.addEntity(entity, CreatureSpawnEvent.SpawnReason.CUSTOM);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user