Compare using BlockType, not Block for AreaPickaxe, fixes #436

Dieser Commit ist enthalten in:
Aurora 2020-05-25 15:24:47 +02:00 committet von dordsor21
Ursprung e23c76511d
Commit 2de45458d4

Datei anzeigen

@ -69,7 +69,7 @@ public class AreaPickaxe implements BlockTool {
for (int x = ox - range; x <= ox + range; ++x) {
for (int y = oy - range; y <= oy + range; ++y) {
for (int z = oz - range; z <= oz + range; ++z) {
if (initialType.equals(editSession.getBlock(x, y, z))) {
if (!initialType.equals(editSession.getBlock(x, y, z).getBlockType())) {
continue;
}