From b552819efe60d5fe2c264bc35237e4974312c301 Mon Sep 17 00:00:00 2001 From: PikaMug <2267126+PikaMug@users.noreply.github.com> Date: Sun, 19 Apr 2020 04:58:06 -0400 Subject: [PATCH] Properly increment non-solid and crop blocks when broken, fixes #1213 --- main/src/main/java/me/blackvein/quests/Quester.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/src/main/java/me/blackvein/quests/Quester.java b/main/src/main/java/me/blackvein/quests/Quester.java index b2085b108..728fd0bcb 100644 --- a/main/src/main/java/me/blackvein/quests/Quester.java +++ b/main/src/main/java/me/blackvein/quests/Quester.java @@ -1299,15 +1299,15 @@ public class Quester { if (is.getDurability() > 0) { // Age is specified so check for durability if (m.getDurability() == is.getDurability()) { - broken = is; + toBreak = is; } } else { // Age is unspecified so ignore durability - broken = is; + toBreak = is; } } else { //Blocks are not solid so ignore durability - broken = is; + toBreak = is; } } }