Fix log notify

This commit is contained in:
Luck
2016-08-31 21:02:06 +01:00
Unverified
parent ef0c53da82
commit 1a2fa5d8c3
@@ -52,7 +52,7 @@ public class LogEntry extends me.lucko.luckperms.api.LogEntry {
plugin.getDatastore().logAction(this);
LogNotifyEvent event = new LogNotifyEvent(this);
event.setCancelled(plugin.getConfiguration().getLogNotify());
event.setCancelled(!plugin.getConfiguration().getLogNotify());
plugin.getApiProvider().fireEvent(event);
if (event.isCancelled()) return;