Skip to content

Commit

Permalink
Fixes block placement
Browse files Browse the repository at this point in the history
  • Loading branch information
Sefiraat committed Jul 4, 2021
1 parent f0c2a3c commit 2529f02
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import javax.annotation.Nonnull;

import me.desht.dhutils.text.LogUtils;
import org.apache.commons.lang.Validate;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
Expand Down Expand Up @@ -214,10 +215,10 @@ private void startup() {
buildZ = workArea.getLowerZ();
}

if (getBuildMode() != AutoBuilderMode.CLEAR && initInventoryPointer()) {
setStatus(BuilderStatus.NO_INVENTORY);
} else {
if (getBuildMode() == AutoBuilderMode.CLEAR || initInventoryPointer()) {
setStatus(BuilderStatus.RUNNING);
} else {
setStatus(BuilderStatus.NO_INVENTORY);
}
}

Expand Down

0 comments on commit 2529f02

Please sign in to comment.