Fix log notify

This commit is contained in:
Luck 2016-08-31 21:02:06 +01:00
parent ef0c53da82
commit 1a2fa5d8c3
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -52,7 +52,7 @@ public class LogEntry extends me.lucko.luckperms.api.LogEntry {
plugin.getDatastore().logAction(this); plugin.getDatastore().logAction(this);
LogNotifyEvent event = new LogNotifyEvent(this); LogNotifyEvent event = new LogNotifyEvent(this);
event.setCancelled(plugin.getConfiguration().getLogNotify()); event.setCancelled(!plugin.getConfiguration().getLogNotify());
plugin.getApiProvider().fireEvent(event); plugin.getApiProvider().fireEvent(event);
if (event.isCancelled()) return; if (event.isCancelled()) return;