The tick queue shouldn't trigger events for the client world

This commit is contained in:
Sollace 2020-05-29 18:11:18 +02:00
parent 6c73ccb028
commit 645a0d1496

View file

@ -30,6 +30,10 @@ public class AwaitTickQueue {
}
static void tick(World world) {
if (world.isClient) {
return;
}
synchronized (LOCKER) {
DELAYED_TASKS = DELAYED_TASKS.stream().filter(DelayedTask::tick).collect(Collectors.toList());