From d7bdc42168596d6e194f5e6a9ab57d6126574576 Mon Sep 17 00:00:00 2001 From: IngeniousGamer Date: Thu, 22 May 2014 20:54:54 -0400 Subject: [PATCH] Fix check-for-updates statement Fixed incorrect string --- src/main/java/org/mcsg/survivalgames/events/JoinEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/mcsg/survivalgames/events/JoinEvent.java b/src/main/java/org/mcsg/survivalgames/events/JoinEvent.java index 34e1511..801270f 100644 --- a/src/main/java/org/mcsg/survivalgames/events/JoinEvent.java +++ b/src/main/java/org/mcsg/survivalgames/events/JoinEvent.java @@ -40,7 +40,7 @@ public void run(){ } }, 5L); } - if((p.isOp() || p.hasPermission("sg.system.updatenotify")) && SettingsManager.getInstance().getConfig().getBoolean("check-for-update", true)){ + if((p.isOp() || p.hasPermission("sg.system.updatenotify")) && SettingsManager.getInstance().getConfig().getBoolean("check-for-updates", true)){ Bukkit.getServer().getScheduler().scheduleAsyncDelayedTask(plugin, new Runnable() { public void run() {