Comment out trace logs

These logs aren't printed and will just increase GC pressure for strings
This commit is contained in:
James Seibel
2024-03-23 16:18:40 -05:00
parent cd5c3d9f13
commit 9cd48fb5d7
6 changed files with 11 additions and 9 deletions
@@ -121,7 +121,8 @@ public class BiomeWrapper implements IBiomeWrapper
this.biome = biome;
this.serialString = this.serialize(levelWrapper);
this.hashCode = Objects.hash(this.serialString);
LOGGER.trace("Created BiomeWrapper ["+this.serialString+"] for ["+biome+"]");
//LOGGER.trace("Created BiomeWrapper ["+this.serialString+"] for ["+biome+"]");
}
/** should only be used to create {@link BiomeWrapper#EMPTY_WRAPPER} */
@@ -124,7 +124,8 @@ public class BlockStateWrapper implements IBlockStateWrapper
this.serialString = this.serialize(levelWrapper);
this.hashCode = Objects.hash(this.serialString);
this.irisBlockMaterialId = this.calculateIrisBlockMaterialId();
LOGGER.trace("Created BlockStateWrapper ["+this.serialString+"] for ["+blockState+"] with material ID ["+this.irisBlockMaterialId+"]");
//LOGGER.trace("Created BlockStateWrapper ["+this.serialString+"] for ["+blockState+"] with material ID ["+this.irisBlockMaterialId+"]");
}