mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-25 18:47:40 +01:00
Fix chunks not being GCed
This commit is contained in:
parent
94a13a9523
commit
1eb5c8519d
@ -171,6 +171,9 @@ public final class ThreadDispatcher<P> {
|
||||
thread.entries().remove(partitionEntry);
|
||||
}
|
||||
this.partitionUpdateQueue.remove(partition);
|
||||
if (partition instanceof Tickable tickable) {
|
||||
processRemovedEntity(tickable);
|
||||
}
|
||||
}
|
||||
|
||||
private void processRemovedEntity(Tickable tickable) {
|
||||
|
Loading…
Reference in New Issue
Block a user