diff --git a/VotingPlugin/src/com/bencodez/votingplugin/BungeeHandler.java b/VotingPlugin/src/com/bencodez/votingplugin/BungeeHandler.java index de7b32b6c..425bdb63c 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/BungeeHandler.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/BungeeHandler.java @@ -142,8 +142,9 @@ public boolean checkGlobalDataTime(TimeType type, HashMap dat long lastUpdated = Long.valueOf(data.get("LastUpdated").getString()).longValue(); plugin.debug("LastUpdated: " + lastUpdated); if (LocalDateTime.now().atZone(ZoneOffset.UTC).toInstant().toEpochMilli() - lastUpdated > 1000 * 60 * 60 - * 1) { - plugin.getLogger().warning("Ignore bungee time change since it was more than 1 hour ago"); + * 2) { + plugin.getLogger().warning("Ignoring bungee time change since it was more than 2 hours ago"); + globalDataHandler.setBoolean(plugin.getBungeeSettings().getServer(), type.toString(), false); return false; }