Fixed unhandled exception if the tileentity is not a ITankContainer