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
@@ -130,7 +130,7 @@ public class FabricClientProxy implements AbstractModInitializer.IEventProxy
ChunkAccess chunk = level.getChunk(blockPos);
if (chunk != null)
{
LOGGER.trace("attack block at blockPos: " + blockPos);
//LOGGER.trace("attack block at blockPos: " + blockPos);
IClientLevelWrapper wrappedLevel = ClientLevelWrapper.getWrapper((ClientLevel) level);
SharedApi.INSTANCE.chunkBlockChangedEvent(
@@ -160,7 +160,7 @@ public class FabricClientProxy implements AbstractModInitializer.IEventProxy
ChunkAccess chunk = level.getChunk(hitResult.getBlockPos());
if (chunk != null)
{
LOGGER.trace("use block at blockPos: " + hitResult.getBlockPos());
//LOGGER.trace("use block at blockPos: " + hitResult.getBlockPos());
IClientLevelWrapper wrappedLevel = ClientLevelWrapper.getWrapper((ClientLevel) level);
SharedApi.INSTANCE.chunkBlockChangedEvent(