From 24baba118a994766728a96b7e46d5ae18a05356a Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Wed, 21 Sep 2022 10:32:30 +0300 Subject: [PATCH] refactor: Remove println calls --- src/main/java/me/topchetoeu/smoothchunks/gui/ChunkPreview.java | 2 -- .../java/me/topchetoeu/smoothchunks/gui/SelectionScreen.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/main/java/me/topchetoeu/smoothchunks/gui/ChunkPreview.java b/src/main/java/me/topchetoeu/smoothchunks/gui/ChunkPreview.java index 883e96b..cf21da4 100644 --- a/src/main/java/me/topchetoeu/smoothchunks/gui/ChunkPreview.java +++ b/src/main/java/me/topchetoeu/smoothchunks/gui/ChunkPreview.java @@ -116,8 +116,6 @@ public class ChunkPreview extends DrawableHelper implements Drawable, Element, S p3.multiply(1 / p3.getW()); p4.multiply(1 / p4.getW()); - // System.out.println(p1.getZ()); - if (checkZ(p1.getZ()) && checkZ(p2.getZ()) && checkZ(p3.getZ()) && checkZ(p4.getZ())) { BufferBuilder bufferBuilder = Tessellator.getInstance().getBuffer(); RenderSystem.enableBlend(); diff --git a/src/main/java/me/topchetoeu/smoothchunks/gui/SelectionScreen.java b/src/main/java/me/topchetoeu/smoothchunks/gui/SelectionScreen.java index d25c754..dbec8ab 100644 --- a/src/main/java/me/topchetoeu/smoothchunks/gui/SelectionScreen.java +++ b/src/main/java/me/topchetoeu/smoothchunks/gui/SelectionScreen.java @@ -91,7 +91,6 @@ public class SelectionScreen extends Screen { drawHorizontalLine(matrices, 15, width - 15, (int)y2 - 5, 0xFFFFFFFF); drawVerticalLine(matrices, 15, y1 - 3, y2 - 5, 0xFFFFFFFF); drawVerticalLine(matrices, width - 15, y1 - 3, y2 - 5, 0xFFFFFFFF); - System.out.println(hoveredElement.getName()); break; } @@ -115,7 +114,6 @@ public class SelectionScreen extends Screen { @Override public boolean mouseClicked(double mouseX, double mouseY, int button) { if (button == 0 && hoveredElement != null) { - System.out.print(hoveredElement.getName()); selectAction.onSelect(hoveredElement); selectedElement = hoveredElement; close();