fix: use correct z in command core check #4
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ public class CommandCore {
|
||||||
try {
|
try {
|
||||||
for (int x = withPos.getMinX(); x <= withPos.getMaxX(); x++) {
|
for (int x = withPos.getMinX(); x <= withPos.getMaxX(); x++) {
|
||||||
for (int y = withPos.getMinY(); y <= withPos.getMaxY(); y++) {
|
for (int y = withPos.getMinY(); y <= withPos.getMaxY(); y++) {
|
||||||
for (int z = withPos.getMaxZ(); z <= withPos.getMaxZ(); z++) {
|
for (int z = withPos.getMinZ(); z <= withPos.getMaxZ(); z++) {
|
||||||
final BlockPos pos = new BlockPos(x, y, z);
|
final BlockPos pos = new BlockPos(x, y, z);
|
||||||
|
|
||||||
final Block block = world.getBlockState(pos).getBlock();
|
final Block block = world.getBlockState(pos).getBlock();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue