From 6f453b47a0756d108b78a91677a5a78d49164fbd Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 17 Feb 2024 16:23:27 +0100 Subject: [PATCH] Fix checkpoint error condition --- SpigotCore_Main/src/de/steamwar/core/CheckpointUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/core/CheckpointUtils.java b/SpigotCore_Main/src/de/steamwar/core/CheckpointUtils.java index 6f0af7f..dbf8f65 100644 --- a/SpigotCore_Main/src/de/steamwar/core/CheckpointUtils.java +++ b/SpigotCore_Main/src/de/steamwar/core/CheckpointUtils.java @@ -78,7 +78,7 @@ public class CheckpointUtils { Bukkit.shutdown(); - if(message.contains("Can't dump ghost file")) // File/Jar has been updated + if(!message.contains("Can't dump ghost file")) // File/Jar has been updated throw new SecurityException(e); } finally { // Delete checkpoint