Tiviacz1337 / Travelers-Backpack

Unique and upgradeable backpacks with customisation, Curios API/Trinkets integration and more!
155 stars 82 forks source link

Multi effect liquids #1038

Open potatle56 opened 1 month ago

potatle56 commented 1 month ago

ALWAYS PROVIDE INFORMATION ABOUT MODLOADER (Fabric / Forge) AND MOD VERSION (For example, 1.19.2-8.2.10) Fabric 1.21.1 (most likely applies to all versions and mod types)

Describe the bug When taking a "liquid" out of the included backpack container, if it is a potion with multiple effects (e.g., Strength II and Invisibility), it will crash the game (despite being put into the container fine and still showing its NBT).

Steps to reproduce the bug Add an extra mod that allows you to combine potion effects into one. Follow the mod's process to create the custom potion. Put the potion into the input slot to load into the backpack. Try to unload the liquid back into the bottle.

you can do this with any mod

What is the expected behavior? The game should not crash, and it should return the potion that was initially put in (like it shows its NBT when you hover your mouse over it in the backpack—why won’t this work?).

  1. Screenshots (If applicable) 2024-10-01_20 22 08 2024-10-01_20 20 52 2024-10-01_20 22 04