Код: Выделить всё
@EventHandler
public void onPlayerInteract(PlayerInteractEvent event) {
if (event.getClickedBlock() != null && event.getClickedBlock().getType() == Material.STONE) {
// Actions to take here
}
}
Как мне выполнить эту проверку в последней версии?
Подробнее здесь: https://stackoverflow.com/questions/793 ... got-1-21-4
Мобильная версия