A few small fixes

This commit is contained in:
Luck
2016-08-20 17:49:23 +01:00
Unverified
parent 471084a9ef
commit bbeed1e4ed
36 changed files with 108 additions and 332 deletions
@@ -44,7 +44,7 @@ public class LogEntry extends me.lucko.luckperms.api.LogEntry {
super();
}
public void submit(LuckPermsPlugin plugin) {
public void submit(LuckPermsPlugin plugin, Sender sender) {
plugin.getDatastore().logAction(this);
LogNotifyEvent event = new LogNotifyEvent(this);
@@ -60,6 +60,7 @@ public class LogEntry extends me.lucko.luckperms.api.LogEntry {
senders.stream()
.filter(s -> !plugin.getIgnoringLogs().contains(s.getUuid()))
.filter(s -> !s.getUuid().equals(sender.getUuid()))
.forEach(s -> Message.LOG.send(s, msg));
}