Refined ender inventory logic