Remove debug messages

This commit is contained in:
Salmonllama 2020-07-27 22:41:50 -04:00
parent 7c8f9acca5
commit a72a49be02

View File

@ -57,7 +57,6 @@ public class PermissionManager {
} }
private boolean staticHandler(String staticPerm, CommandContext ctx) { private boolean staticHandler(String staticPerm, CommandContext ctx) {
System.out.println(staticPerm);
AtomicBoolean ret = new AtomicBoolean(false); AtomicBoolean ret = new AtomicBoolean(false);
StaticPermissionController.getByUser(ctx.getAuthor().getIdAsString()).thenAccept(possiblePerms -> { StaticPermissionController.getByUser(ctx.getAuthor().getIdAsString()).thenAccept(possiblePerms -> {
@ -67,11 +66,9 @@ public class PermissionManager {
ret.set(true); ret.set(true);
} }
} }
staticPermissions.forEach(System.out::println);
}); });
}).join(); // TODO: Figure out a way to have this not join }).join(); // TODO: Figure out a way to have this not join
System.out.println(ret.get());
return ret.get(); return ret.get();
} }