mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-26 19:18:17 +01:00
Fix log notify
This commit is contained in:
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user