Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onBlockBreak(BlockBreakEvent event){
- final Block block = event.getBlock();
- plugin.getServer().getScheduler().runTaskLater(plugin, new Runnable(){
- public void run(){
- block.setType(Material.SAPLING);
- }
- }, 3);
- }
Advertisement
Add Comment
Please, Sign In to add comment