public static void blockBreak(org.bukkit.event.block.BlockBreakEvent event) { storeEntry( event.getPlayer(), new RollbackEntry(event.getPlayer().getName(), event.getBlock(), EntryType.BLOCK_BREAK)); }
public static void blockPlace(org.bukkit.event.block.BlockPlaceEvent event) { storeEntry( event.getPlayer(), new RollbackEntry(event.getPlayer().getName(), event.getBlock(), EntryType.BLOCK_PLACE)); }