Ensure previous rebuild thread reference is cleared
This commit is contained in:
parent
af63b3ed11
commit
99758ba9de
|
|
@ -51,6 +51,7 @@ public class BlockStateCacheHandler {
|
||||||
throw new RuntimeException("Don't interrupt Minecraft threads", e);
|
throw new RuntimeException("Don't interrupt Minecraft threads", e);
|
||||||
}
|
}
|
||||||
ModernFix.LOGGER.debug("Rebuild thread exited");
|
ModernFix.LOGGER.debug("Rebuild thread exited");
|
||||||
|
currentRebuildThread = null;
|
||||||
}
|
}
|
||||||
if(force || needToBake()) {
|
if(force || needToBake()) {
|
||||||
ArrayList<BlockState> stateList = new ArrayList<>(Block.BLOCK_STATE_REGISTRY.size());
|
ArrayList<BlockState> stateList = new ArrayList<>(Block.BLOCK_STATE_REGISTRY.size());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user