Potentially fix removed entities from still being ticked

Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
TheMode 2021-10-11 23:38:32 +02:00
parent 5c2ab68a0a
commit 0f4698bed7

View File

@ -101,8 +101,8 @@ public final class ThreadDispatcher {
public void refreshThreads(long tickTime) { public void refreshThreads(long tickTime) {
processLoadedChunks(); processLoadedChunks();
processUnloadedChunks(); processUnloadedChunks();
processRemovedEntities();
processUpdatedEntities(); processUpdatedEntities();
processRemovedEntities();
if (provider.getChunkRefreshType() == ThreadProvider.RefreshType.NEVER) if (provider.getChunkRefreshType() == ThreadProvider.RefreshType.NEVER)
return; return;