From b8e3941bb4bbb20a6c531c3272f6a2a0fd862740 Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Mon, 13 Jan 2020 17:44:51 -0500 Subject: [PATCH] Revert "Add some debug messages to aid in future coding decisions." This reverts commit c4f376a2 --- .../java/com/sk89q/worldedit/function/mask/ABlockMask.java | 2 -- .../java/com/sk89q/worldedit/function/mask/BiomeMask2D.java | 1 - .../main/java/com/sk89q/worldedit/function/mask/BlockMask.java | 2 -- .../java/com/sk89q/worldedit/function/mask/BlockStateMask.java | 2 -- .../java/com/sk89q/worldedit/function/mask/BlockTypeMask.java | 2 -- .../com/sk89q/worldedit/function/mask/ExistingBlockMask.java | 3 --- 6 files changed, 12 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/ABlockMask.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/ABlockMask.java index 7ed4fb81c..5c22f44f2 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/ABlockMask.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/ABlockMask.java @@ -1,6 +1,5 @@ package com.sk89q.worldedit.function.mask; -import com.boydti.fawe.Fawe; import com.boydti.fawe.util.StringMan; import com.sk89q.worldedit.extent.Extent; import com.sk89q.worldedit.math.BlockVector3; @@ -19,7 +18,6 @@ public abstract class ABlockMask extends AbstractExtentMask { @Override public boolean test(Extent extent, BlockVector3 vector) { - Fawe.imp().debug("getExtent(): " + getExtent().getClass() + " extent: " + extent.getClass()); return test(vector.getBlock(extent)); } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BiomeMask2D.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BiomeMask2D.java index 074efcd65..30124bb93 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BiomeMask2D.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BiomeMask2D.java @@ -21,7 +21,6 @@ package com.sk89q.worldedit.function.mask; import static com.google.common.base.Preconditions.checkNotNull; -import com.boydti.fawe.Fawe; import com.sk89q.worldedit.extent.Extent; import com.sk89q.worldedit.math.BlockVector2; import com.sk89q.worldedit.world.biome.BiomeType; diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockMask.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockMask.java index a1a10a111..cd78a773a 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockMask.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockMask.java @@ -21,7 +21,6 @@ package com.sk89q.worldedit.function.mask; import static com.google.common.base.Preconditions.checkNotNull; -import com.boydti.fawe.Fawe; import com.sk89q.worldedit.extent.Extent; import com.sk89q.worldedit.extent.NullExtent; import com.sk89q.worldedit.math.BlockVector3; @@ -174,7 +173,6 @@ public class BlockMask extends ABlockMask { @Override public boolean test(Extent extent, BlockVector3 vector) { - Fawe.imp().debug("getExtent(): " + getExtent().getClass() + " extent: " + extent.getClass()); return ordinals[vector.getOrdinal(extent)]; } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockStateMask.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockStateMask.java index 41d8fe832..b8bc72e8f 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockStateMask.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockStateMask.java @@ -19,7 +19,6 @@ package com.sk89q.worldedit.function.mask; -import com.boydti.fawe.Fawe; import com.google.common.collect.Maps; import com.sk89q.worldedit.blocks.Blocks; import com.sk89q.worldedit.extent.Extent; @@ -53,7 +52,6 @@ public class BlockStateMask extends AbstractExtentMask { @Override public boolean test(Extent extent, BlockVector3 vector) { - Fawe.imp().debug("getExtent(): " + getExtent().getClass() + " extent: " + extent.getClass()); return test(vector.getBlock(extent)); } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockTypeMask.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockTypeMask.java index 4058bdf35..c33db1738 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockTypeMask.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockTypeMask.java @@ -21,7 +21,6 @@ package com.sk89q.worldedit.function.mask; import static com.google.common.base.Preconditions.checkNotNull; -import com.boydti.fawe.Fawe; import com.sk89q.worldedit.extent.Extent; import com.sk89q.worldedit.math.BlockVector3; import com.sk89q.worldedit.world.block.BlockType; @@ -108,7 +107,6 @@ public class BlockTypeMask extends AbstractExtentMask { @Override public boolean test(Extent extent, BlockVector3 vector) { - Fawe.imp().debug("getExtent(): " + getExtent().getClass() + " extent: " + extent.getClass()); return test(vector.getBlock(extent).getBlockType()); } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/ExistingBlockMask.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/ExistingBlockMask.java index 98b45253a..730cb93aa 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/ExistingBlockMask.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/ExistingBlockMask.java @@ -19,7 +19,6 @@ package com.sk89q.worldedit.function.mask; -import com.boydti.fawe.Fawe; import com.sk89q.worldedit.extent.Extent; import com.sk89q.worldedit.math.BlockVector3; import javax.annotation.Nullable; @@ -41,8 +40,6 @@ public class ExistingBlockMask extends AbstractExtentMask { @Override public boolean test(Extent extent, BlockVector3 vector) { - Fawe.imp().debug("getExtent(): " + getExtent().getClass() + " extent: " + extent.getClass()); - return !vector.getBlock(extent).getMaterial().isAir(); }