Wire up admin notification toggle

This commit is contained in:
nossr50
2019-05-18 14:46:48 -07:00
parent 9fb9228869
commit 65a234c6b3
3 changed files with 25 additions and 1 deletions

View File

@@ -158,7 +158,7 @@ public class NotificationManager {
*/
private static void sendAdminNotification(String msg) {
//If its not enabled exit
if(!Config.getInstance().adminNotifications())
if(!mcMMO.getConfigManager().getConfigAdmin().isSendAdminNotifications())
return;
for(Player player : Bukkit.getServer().getOnlinePlayers())