Merge remote-tracking branch 'origin/1.20' into 1.21.1
This commit is contained in:
commit
cae2af8bfc
|
|
@ -88,7 +88,9 @@ public abstract class LevelChunkMixin extends ChunkAccess {
|
|||
BlockEntity blockEntity = this.getBlockEntity(pos.immutable(), LevelChunk.EntityCreationType.IMMEDIATE);
|
||||
String blockName = state.getBlock().toString();
|
||||
if (blockEntity != null) {
|
||||
ModernFix.LOGGER.warn("Created missing block entity for {} at {}", blockName, pos.toShortString());
|
||||
if (ModernFix.LOGGER.isDebugEnabled()) {
|
||||
ModernFix.LOGGER.debug("Created missing block entity for {} at {}", blockName, pos.toShortString());
|
||||
}
|
||||
} else {
|
||||
ModernFix.LOGGER.error("Block entity is missing for {} at {}, but could not be created", blockName, pos.toShortString());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,8 +78,8 @@ public class ModernFixMixinPlugin implements IMixinConfigPlugin {
|
|||
while(true) {
|
||||
try {
|
||||
Thread.sleep(60000);
|
||||
logger.error("------ DEBUG THREAD DUMP (occurs every 60 seconds) ------");
|
||||
logger.error(ThreadDumper.obtainThreadDump());
|
||||
logger.info("------ DEBUG THREAD DUMP (occurs every 60 seconds) ------");
|
||||
logger.info(ThreadDumper.obtainThreadDump());
|
||||
} catch(InterruptedException | RuntimeException e) {}
|
||||
}
|
||||
}
|
||||
|
|
@ -300,4 +300,4 @@ public class ModernFixMixinPlugin implements IMixinConfigPlugin {
|
|||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user