@EventHandler(ignoreCancelled = true)
	public void rarpBlockFromTo(BlockFromToEvent event) {
		if (event.isCancelled()) {
			return;
		}
		Block blockFrom = event.getBlock();
		boolean isWater = blockFrom.getTypeId() == 8 || blockFrom.getTypeId() == 9;
		boolean isLava = blockFrom.getTypeId() == 10 || blockFrom.getTypeId() == 11;
		boolean isAir = blockFrom.getTypeId() == 0;
		if (isAir || isLava || isWater) {
			Block blockTo = event.getToBlock();
			if (isRailAndEnabled(blockTo)) {
				event.setCancelled(true);
				return;
			}
			if (isRedStoneAndEnabled(blockTo)) {
				event.setCancelled(true);
			}

		}
	}