Small optimization to hopper minecart code