Fix negation issue.

This commit is contained in:
Matt 2016-02-29 11:50:04 -05:00
parent b0a3f70cbd
commit 5079361fbf

View File

@ -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");