395 |
|
|
396 |
World world = loc.getWorld(); |
World world = loc.getWorld(); |
397 |
|
|
398 |
int count = 0; |
|
399 |
for (int x=(playerX-radius); x<=(playerX+radius); x++) { |
for (int x=(playerX-radius); x<=(playerX+radius); x++) { |
400 |
for (int z=(playerZ-radius); z<=(playerZ+radius); z++) { |
for (int z=(playerZ-radius); z<=(playerZ+radius); z++) { |
401 |
|
|
402 |
int y_max = playerY+radius; |
int y_max = playerY+radius; |
403 |
//for (int y=playerY; y<=playerY+radius; y++) { |
//for (int y=playerY; y<=playerY+radius; y++) { |
404 |
for (int y=playerY; y<=y_max; y++) { |
for (int y=playerY; y<=y_max; y++) { |
405 |
count++; |
|
406 |
world.getBlockAt(x, y, z).setType(Material.AIR); |
world.getBlockAt(x, y, z).setType(Material.AIR); |
407 |
|
|
408 |
} |
} |
426 |
|
|
427 |
World world = loc.getWorld(); |
World world = loc.getWorld(); |
428 |
|
|
|
int count = 0; |
|
429 |
for (int x=(playerX-radius); x<=(playerX+radius); x++) { |
for (int x=(playerX-radius); x<=(playerX+radius); x++) { |
430 |
for (int z=(playerZ-radius); z<=(playerZ+radius); z++) { |
for (int z=(playerZ-radius); z<=(playerZ+radius); z++) { |
431 |
|
|
432 |
//for (int y=playerY; y<=playerY+radius; y++) { |
//for (int y=playerY; y<=playerY+radius; y++) { |
433 |
for (int y=playerY; y<=Y_MAX; y++) { |
for (int y=playerY; y<=Y_MAX; y++) { |
|
count++; |
|
434 |
world.getBlockAt(x, y, z).setType(Material.AIR); |
world.getBlockAt(x, y, z).setType(Material.AIR); |
435 |
|
|
436 |
} |
} |