put shared api particle behind debug config

This commit is contained in:
James Seibel
2024-12-13 07:26:05 -06:00
parent d398b3bc04
commit 23021153da
@@ -363,12 +363,15 @@ public class SharedApi
processUpdateChunkData(updateData);
DebugRenderer.makeParticle(
new DebugRenderer.BoxParticle(
new DebugRenderer.Box(DhSectionPos.encodeContaining(LodUtil.CHUNK_DETAIL_LEVEL, chunkWrapper.getChunkPos()), 128f, 156f, 0.09f, Color.RED)
,0.2, 32f
)
);
if (Config.Client.Advanced.Debugging.DebugWireframe.showFullDataUpdateStatus.get())
{
DebugRenderer.makeParticle(
new DebugRenderer.BoxParticle(
new DebugRenderer.Box(DhSectionPos.encodeContaining(LodUtil.CHUNK_DETAIL_LEVEL, chunkWrapper.getChunkPos()), 128f, 156f, 0.09f, Color.RED)
, 0.2, 32f
)
);
}
UPDATE_POS_MANAGER.removeItem(chunkWrapper.getChunkPos());
}