From 5079361fbf3fafd538c679800f684e5a88f04fd4 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 29 Feb 2016 11:50:04 -0500 Subject: [PATCH] Fix negation issue. --- Core/src/main/java/com/intellectualcrafters/plot/PS.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/PS.java b/Core/src/main/java/com/intellectualcrafters/plot/PS.java index 6e2c33621..da5f70af9 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/PS.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/PS.java @@ -1729,7 +1729,7 @@ public class PS { parent.mkdirs(); } MainUtil.sendMessage(sender, "$2 - Output: " + newJar); - if (newJar.delete()) { + if (!newJar.delete()) { MainUtil.sendMessage(sender, "Failed to update PlotSquared"); MainUtil.sendMessage(sender, "Jar file failed to delete."); MainUtil.sendMessage(sender, " - Please update manually");