mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 11:36:43 +01:00
The tick queue shouldn't trigger events for the client world
This commit is contained in:
parent
6c73ccb028
commit
645a0d1496
1 changed files with 4 additions and 0 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue