mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-29 19:01:22 +01:00
removed forgotten debug output
This commit is contained in:
parent
b702801d2b
commit
18a46a996c
@ -24,9 +24,9 @@ import cc.co.evenprime.bukkit.nocheat.actions.LogAction;
|
||||
*/
|
||||
public class NoCheatConfiguration {
|
||||
|
||||
|
||||
|
||||
public final String configFile = "plugins/NoCheat/nocheat.yml";
|
||||
|
||||
|
||||
// Our personal logger
|
||||
private final String loggerName = "cc.co.evenprime.nocheat";
|
||||
public final Logger logger = Logger.getLogger(loggerName);
|
||||
@ -60,7 +60,7 @@ public class NoCheatConfiguration {
|
||||
public void config() {
|
||||
|
||||
File configurationFile = new File(configFile);
|
||||
|
||||
|
||||
if(!configurationFile.exists()) {
|
||||
createStandardConfigFile(configurationFile);
|
||||
}
|
||||
@ -119,7 +119,7 @@ public class NoCheatConfiguration {
|
||||
private Action[] stringToActions(String string, Action[] def) {
|
||||
|
||||
if(string == null) return def;
|
||||
System.out.println(string);
|
||||
|
||||
List<Action> as = new LinkedList<Action>();
|
||||
String[] parts = string.split(" ");
|
||||
|
||||
@ -155,15 +155,15 @@ public class NoCheatConfiguration {
|
||||
}
|
||||
|
||||
private String actionsToString(Action[] actions) {
|
||||
|
||||
|
||||
String s = "";
|
||||
|
||||
|
||||
if(actions != null) {
|
||||
for(Action a : actions) {
|
||||
s = s + " " + a.getName();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return s.trim();
|
||||
}
|
||||
/**
|
||||
|
@ -434,10 +434,7 @@ public class MovingCheck extends Check {
|
||||
event.setFrom(data.movingSetBackPoint.clone());
|
||||
event.setTo(data.movingSetBackPoint.clone());
|
||||
event.getPlayer().teleport(data.movingSetBackPoint.clone());
|
||||
event.setCancelled(true);
|
||||
|
||||
|
||||
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user