mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
bad regex replace
This commit is contained in:
parent
2cb734bba2
commit
252fdefef3
2 changed files with 0 additions and 12 deletions
|
@ -21,8 +21,6 @@ public final class Reflection {
|
|||
private static final Map<String, Class<?>> _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<String, Class<?>> _loadedOBCClasses = new HashMap<>();
|
||||
private static final Map<Class<?>, Map<String, Field>> _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, <em>including the trailing dot</em>.
|
||||
*/
|
||||
|
@ -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) {
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue