misc tidying up

This commit is contained in:
Luck
2018-11-10 20:20:58 +00:00
Unverified
parent 44c8c67803
commit 58ab3c325c
5 changed files with 5 additions and 5 deletions
@@ -184,7 +184,7 @@ public class Importer implements Runnable {
AtomicInteger errIndex = new AtomicInteger(1);
for (ImportCommand e : this.commands) {
if (e.getResult() != null && e.getResult().wasFailure()) {
for (Sender s : notify) {
for (Sender s : this.notify) {
Message.IMPORT_END_ERROR_HEADER.send(s, errIndex.get(), e.getId(), e.getCommand(), e.getResult().toString());
e.getOutput().forEach(out -> Message.IMPORT_END_ERROR_CONTENT.send(s, out));
Message.IMPORT_END_ERROR_FOOTER.send(s);
@@ -103,7 +103,7 @@ public final class EventFactory {
return this.eventBus;
}
private boolean shouldPost(Class<? extends LuckPermsEvent> eventClass){
private boolean shouldPost(Class<? extends LuckPermsEvent> eventClass) {
return this.eventBus.shouldPost(eventClass);
}