mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Third time's the charm
This commit is contained in:
parent
7c135c4a33
commit
25015a4f7a
@ -208,10 +208,14 @@ public interface IToolAreaAbility extends IBaseAbility {
|
||||
for(int a = x - range; a <= x + range; a++) {
|
||||
for(int b = y - range; b <= y + range; b++) {
|
||||
for(int c = z - range; c <= z + range; c++) {
|
||||
if (a == x && b == y && c == z)
|
||||
continue;
|
||||
tool.breakExtraBlock(world, a, b ,c, player, x, y, z);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tool.breakExtraBlock(world, x, y, z, player, x, y, z);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user