MinecraftForge/MinecraftForge — pull request #746 by mhahn1976 (2013-08-26 17:23:06+00:00)
Title: capacity was not respected

Updated to properly calculate the amount of free space in the tank
before checking that against the amount of the resource.