Fixed type of function in armoured hopper so it doesn't cause an assert.