Skip to content

Commit cae2af8

Browse files
committed
Merge remote-tracking branch 'origin/1.20' into 1.21.1
2 parents a25e37b + 26bd711 commit cae2af8

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

src/main/java/org/embeddedt/modernfix/common/mixin/bugfix/missing_block_entities/LevelChunkMixin.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ private void makeBlockEntityIfNotExists(BlockState state, BlockPos.MutableBlockP
8888
BlockEntity blockEntity = this.getBlockEntity(pos.immutable(), LevelChunk.EntityCreationType.IMMEDIATE);
8989
String blockName = state.getBlock().toString();
9090
if (blockEntity != null) {
91-
ModernFix.LOGGER.warn("Created missing block entity for {} at {}", blockName, pos.toShortString());
91+
if (ModernFix.LOGGER.isDebugEnabled()) {
92+
ModernFix.LOGGER.debug("Created missing block entity for {} at {}", blockName, pos.toShortString());
93+
}
9294
} else {
9395
ModernFix.LOGGER.error("Block entity is missing for {} at {}, but could not be created", blockName, pos.toShortString());
9496
}

src/main/java/org/embeddedt/modernfix/core/ModernFixMixinPlugin.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ public void run() {
7878
while(true) {
7979
try {
8080
Thread.sleep(60000);
81-
logger.error("------ DEBUG THREAD DUMP (occurs every 60 seconds) ------");
82-
logger.error(ThreadDumper.obtainThreadDump());
81+
logger.info("------ DEBUG THREAD DUMP (occurs every 60 seconds) ------");
82+
logger.info(ThreadDumper.obtainThreadDump());
8383
} catch(InterruptedException | RuntimeException e) {}
8484
}
8585
}
@@ -300,4 +300,4 @@ private void applyBlockStateCacheScan(ClassNode targetClass) {
300300
}
301301
});
302302
}
303-
}
303+
}

0 commit comments

Comments
 (0)