I know how to get the location of a block, but how do I make the plugin say the location to the player?
Code: public void onBlockPlaceEvent(BlockPlaceEvent event){ Block block = event.getBlockPlaced(); if (block instanceof Material.TNT){ } } It still wont recognize it. Is something wrong?
Not that Block will ever be instanceof a Material though... @M1dude Rather check if (block.getType() == Material.TNT)