Fix logic error and remove unnecessary line

This commit is contained in:
Gabriel Curtiss committed 2020-09-14 16:34:52 -05:00
1 parent ef5b4069ce
commit 6e2eae7d1e
2 files changed
+2 -2

No files matched your search

@@ -89,7 +89,7 @@ public class LoggingManager {
}
public void logToPlayers(String message) {
if(!config.getConfig().disableBroadcast.getValue()) return;
if(config.getConfig().disableBroadcast.getValue()) return;
for(Player player : Bukkit.getOnlinePlayers()) {
if (Permission.SYSTEM_NOTICE.get(player)) {
player.sendMessage(message);