From 252fdefef3d11d945c6f9d701fdd15de30130210 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 6 Nov 2019 11:39:55 +0000 Subject: [PATCH] bad regex replace --- .../plotsquared/bukkit/chat/Reflection.java | 8 -------- .../intellectualsites/plotsquared/plot/IPlotMain.java | 4 ---- 2 files changed, 12 deletions(-) diff --git a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/chat/Reflection.java b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/chat/Reflection.java index ebe7e81b3..f3f004284 100644 --- a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/chat/Reflection.java +++ b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/chat/Reflection.java @@ -21,8 +21,6 @@ public final class Reflection { private static final Map> _loadedNMSClasses = new HashMap<>(); /** * Stores loaded classes from the {@code org.bukkit.craftbukkit} package (and subpackages). - -import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil; */ private static final Map> _loadedOBCClasses = new HashMap<>(); private static final Map, Map> _loadedFields = new HashMap<>(); @@ -39,11 +37,7 @@ import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil; /** * Gets the version string from the package name of the CraftBukkit server implementation. - -import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil; * This is needed to bypass the JAR package name changing on each update. - -import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil; * * @return The version string of the OBC and NMS packages, including the trailing dot. */ @@ -85,8 +79,6 @@ import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil; * The class instances returned by this method are cached, such that no lookup will be done twice (unless multiple threads are accessing this method simultaneously). * * @param className The name of the class, excluding the package, within OBC. This name may contain a subpackage name, such as {@code inventory.CraftItemStack}. - -import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil; * @return The class instance representing the specified OBC class, or {@code null} if it could not be loaded. */ public synchronized static Class getOBCClass(String className) { diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/IPlotMain.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/IPlotMain.java index b532cb4ce..bf4bf888a 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/IPlotMain.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/IPlotMain.java @@ -88,12 +88,8 @@ public interface IPlotMain extends ILogger { /** * Gets the NMS package prefix. - -import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil; * * @return The NMS package prefix - -import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil; */ String getNMSPackage();