24 |
|
|
25 |
Set<String> miners = new HashSet<String>(); |
Set<String> miners = new HashSet<String>(); |
26 |
|
|
27 |
|
final static int radius = 5; |
28 |
|
|
29 |
@Override |
@Override |
30 |
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { |
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { |
31 |
|
|
79 |
|
|
80 |
Location l = location; |
Location l = location; |
81 |
|
|
82 |
for (int x=-5; x<=5; x++) { |
for (int x=(radius*-1); x<=radius; x++) { |
83 |
for (int y=0; y<=5; y++) { |
for (int y=0; y<=radius; y++) { |
84 |
for (int z=-5; z<=5; z++) { |
for (int z=(radius*-1); z<=radius; z++) { |
85 |
|
|
86 |
Block b = world.getBlockAt( l.getBlockX()+x, l.getBlockY()+y, l.getBlockZ()+z); |
Block b = world.getBlockAt( l.getBlockX()+x, l.getBlockY()+y, l.getBlockZ()+z); |
87 |
|
|