mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-02 08:50:17 +01:00
parent
f49d43d6a3
commit
c36ef1d237
@ -147,7 +147,8 @@ public class PlotMeConnector_017 extends APlotMeConnector {
|
||||
PS.log("&6Denied (" + key + ") references deleted plot; ignoring entry.");
|
||||
continue;
|
||||
}
|
||||
UUID denied = UUID.fromString(resultSet.getString("player"));
|
||||
String player = resultSet.getString("player");
|
||||
UUID denied = player.equals("*") ? DBFunc.everyone : UUID.fromString(player);
|
||||
plot.getDenied().add(denied);
|
||||
}
|
||||
|
||||
@ -162,7 +163,8 @@ public class PlotMeConnector_017 extends APlotMeConnector {
|
||||
PS.log("&6Allowed (" + key + ") references deleted plot; ignoring entry.");
|
||||
continue;
|
||||
}
|
||||
UUID allowed = UUID.fromString(resultSet.getString("player"));
|
||||
String player = resultSet.getString("player");
|
||||
UUID allowed = player.equals("*") ? DBFunc.everyone : UUID.fromString(player);
|
||||
plot.getTrusted().add(allowed);
|
||||
}
|
||||
resultSet.close();
|
||||
|
@ -151,7 +151,7 @@ public class DebugExec extends SubCommand {
|
||||
@Override
|
||||
public boolean onCommand(final PlotPlayer player, String[] args) {
|
||||
List<String> allowed_params =
|
||||
Arrays.asList("calibrate-analysis", "remove-flag", "stop-expire", "start-expire", "show-expired", "seen", "list-scripts");
|
||||
Arrays.asList("calibrate-analysis", "remove-flag", "stop-expire", "start-expire", "seen", "list-scripts");
|
||||
if (args.length > 0) {
|
||||
String arg = args[0].toLowerCase();
|
||||
String script;
|
||||
|
Loading…
Reference in New Issue
Block a user