Skip to content

Commit

Permalink
fix backwards check in destroy mech
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 18, 2022
1 parent 8bc28b7 commit b75b59e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1064,7 +1064,7 @@ public void adjust(Mechanism mechanism) {
if (mechanism.matches("destroy")) {
File folder = getWorld().getWorldFolder();
unloadWorldClean(mechanism, false);
if (getWorld() == null) {
if (getWorld() != null) {
return;
}
if (!Settings.allowDelete()) {
Expand Down

0 comments on commit b75b59e

Please sign in to comment.