Properly increment non-solid and crop blocks when broken, fixes #1213

This commit is contained in:
PikaMug 2020-04-19 04:58:06 -04:00
parent 9948b76e3b
commit b552819efe

View File

@ -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;
}
}
}