mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-23 19:15:49 +01:00
Properly increment non-solid and crop blocks when broken, fixes #1213
This commit is contained in:
parent
9948b76e3b
commit
b552819efe
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user