From 1a2fa5d8c3918a469d9320a2212dfb243e28c4c3 Mon Sep 17 00:00:00 2001 From: Luck Date: Wed, 31 Aug 2016 21:02:06 +0100 Subject: [PATCH] Fix log notify --- common/src/main/java/me/lucko/luckperms/data/LogEntry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/me/lucko/luckperms/data/LogEntry.java b/common/src/main/java/me/lucko/luckperms/data/LogEntry.java index 846a0fb58..c62724f5b 100644 --- a/common/src/main/java/me/lucko/luckperms/data/LogEntry.java +++ b/common/src/main/java/me/lucko/luckperms/data/LogEntry.java @@ -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;