mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 19:46:42 +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) {
|
static void tick(World world) {
|
||||||
|
if (world.isClient) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
synchronized (LOCKER) {
|
synchronized (LOCKER) {
|
||||||
DELAYED_TASKS = DELAYED_TASKS.stream().filter(DelayedTask::tick).collect(Collectors.toList());
|
DELAYED_TASKS = DELAYED_TASKS.stream().filter(DelayedTask::tick).collect(Collectors.toList());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue