mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-01 13:14:43 +02:00
Clean the project
This commit is contained in:
@ -13,7 +13,6 @@ import java.util.regex.Pattern;
|
||||
|
||||
import com.intellectualcrafters.plot.config.C;
|
||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
||||
import com.intellectualcrafters.plot.util.Permissions;
|
||||
import com.intellectualcrafters.plot.util.StringMan;
|
||||
import com.plotsquared.general.commands.Command;
|
||||
|
||||
|
@ -27,7 +27,7 @@ import com.intellectualcrafters.plot.object.PlotPlayer;
|
||||
* SubCommand class
|
||||
*
|
||||
|
||||
*/
|
||||
*/
|
||||
@SuppressWarnings({ "deprecation" })
|
||||
public abstract class SubCommand extends com.plotsquared.general.commands.Command<PlotPlayer> {
|
||||
|
||||
|
@ -30,7 +30,6 @@ import com.intellectualcrafters.plot.util.StringComparison;
|
||||
* Main Configuration Utility
|
||||
*
|
||||
|
||||
*/
|
||||
*/
|
||||
public class Configuration {
|
||||
|
||||
|
@ -45,7 +45,6 @@ import com.intellectualcrafters.plot.util.Permissions;
|
||||
|
||||
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class FlagManager {
|
||||
|
||||
private final static HashSet<String> reserved = new HashSet<>();
|
||||
|
@ -95,7 +95,6 @@ public class ConsoleColors {
|
||||
win = lin;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public String getWin() {
|
||||
return win;
|
||||
}
|
||||
|
@ -186,7 +186,8 @@ public abstract class EventUtil {
|
||||
if (Permissions.hasPermission(pp, C.PERMISSION_ADMIN_INTERACT_OTHER.s(), false)) {
|
||||
return true;
|
||||
}
|
||||
return !(!false || MainUtil.sendMessage(pp, C.FLAG_TUTORIAL_USAGE, C.FLAG_USE.s() + "/" + C.FLAG_DEVICE_INTERACT.s()));
|
||||
// TODO: fix the commented dead code
|
||||
return true; //!(!false || MainUtil.sendMessage(pp, C.FLAG_TUTORIAL_USAGE, C.FLAG_USE.s() + "/" + C.FLAG_DEVICE_INTERACT.s()));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -28,7 +28,6 @@ import java.util.Collections;
|
||||
* String comparison library
|
||||
*
|
||||
|
||||
|
||||
|
||||
*/
|
||||
public class StringComparison<T> {
|
||||
|
@ -5,7 +5,6 @@ import java.io.OutputStream;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.URL;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
Reference in New Issue
Block a user