From 638643dab788c3c1b1ee7b675a615243cf32e7e2 Mon Sep 17 00:00:00 2001 From: Tux Date: Thu, 22 May 2014 23:20:53 -0400 Subject: [PATCH] Fix typo --- .../com/imaginarycode/minecraft/redisbungee/RedisBungee.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java index 0ce05bb..16e80da 100644 --- a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java +++ b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java @@ -458,7 +458,7 @@ public final class RedisBungee extends Plugin { File crashFile = new File(getDataFolder(), "restarted_from_crash.txt"); if (crashFile.exists()) crashFile.delete(); - else if (rsc.hexists("heartbeat", serverId)) { + else if (rsc.hexists("heartbeats", serverId)) { getLogger().severe("You have launched a possible imposter BungeeCord instance. Another instance is already running."); getLogger().severe("For data consistency reasons, RedisBungee will now disable itself."); getLogger().severe("If this instance is coming up from a crash, create a file in your RedisBungee plugins directory with the name 'restarted_from_crash.txt' and RedisBungee will not perform this check.");