Change log level from warn to debug for successfully created missing block entities
Closes #648
This commit is contained in:
parent
4d2f0da1fc
commit
26bd7116a1
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user