Professional Documents
Culture Documents
Message
Message
Message
c = c - 1;
int type = 0;
if (c == 2) type = 1;
if (c == 1) type = 2;
event.getWhoClicked().getWorld().getBlockAt(block.getLocation()).setType(Material.A
NVIL);
final BlockFace face = block.getFace(block);
block.setData(this.getDirection(face));
if (c == 0) {
hologram.delete();
block.breakNaturally();
} else {
hologram.getLines().clear();
hologram.getLines().appendText("§6" + c + " §fużyc");
}
}
}