@SuppressWarnings("deprecation")
	private void setFluid(World world, int x, int y, int z, boolean lava, boolean neighbourStone)
	{
		int fluid = lava?Material.LAVA.getId():Material.WATER.getId();
		if(setAirIfAllowed(world, x, y, z, false))
		{
			setBlock(world, x, y, z, fluid);
			if(neighbourStone)
			{
				if(getBlock(world, x-1, y, z) != fluid)
				{
					setBlock(world, x-1, y, z, Material.STONE.getId());
				}
				if(getBlock(world, x+1, y, z) != fluid)
				{
					setBlock(world, x+1, y, z, Material.STONE.getId());
				}
				if(getBlock(world, x, y-1, z) != fluid)
				{
					setBlock(world, x, y-1, z, Material.STONE.getId());
				}
				if(getBlock(world, x, y, z-1) != fluid)
				{
					setBlock(world, x, y, z-1, Material.STONE.getId());
				}
				if(getBlock(world, x, y, z+1) != fluid)
				{
					setBlock(world, x, y, z+1, Material.STONE.getId());
				}
			}
		}
	}