RegenBlock beta 5.4
What's new
Updated API a bit. Method to restore a block is available right at the RegenBlock main class level.
rb.regenBlock(location, material, data, player, true) - For BlockBreakEvent simulation rb.regenBlock(location, Material.AIR, (byte) 0, player, false) - For BlockPlaceEvent simulation (can pass anything for block type if needed) public void regenBlock(Location location, Material material, byte data, Player player, Boolean isBreakEvent) location - block's location material - what material block should be set to once restored data - data value for the restored block player - player that broke/placed the block isBreakEvent - test if this is a BlockBreak of BlockPlace event.
This mod has no additional files

