Tiviacz1337 / Travelers-Backpack

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

NOT GAMEBREAKING / NeoForge 1.20.4 + Carry On mod, Single Player, Connection Lost when holding item with "Carry On" + pressing "B". #879

Closed randomleech closed 2 months ago

randomleech commented 2 months ago

Hi!

travelersbackpack-neoforge-1.20.4-9.4.0 + Carry On mod (let's You pick up and ... carry Chests, mobs, etc.) I do not know if this is the right place to write about it, or maybe Carry On issues thread.

Carry On: https://www_curseforge_com/minecraft/mc-mods/carry-on

I made basic backpack, opened it "from hand", clicked on "wear" icon, opened it with "B" button, loaded full with random items/blocks (nothing modded - checked just now), closed it.

Picked up a Chest with items in it (Carry On mod), pressed B (just to check what is going to happen) and got Connection Lost message.

"E" button does not work (can not open inventory - nothing happens) when I am "Carry-ing On" something.

"Connection Lost" message.

"Failed to open a screen with advanced data: java.lang.NullPointerException: Cannot invoke "com.travelersbackpack-neoforge-1.20.4-9.4.0tiviacz.travelersbackpack.client.screens.widgets.SettingsWidget.getWidgetSize AndPos()" because "gui.settingsWidget" is null"

Expected behaviour: Nothing.. like literally. "B" should not work, or even better (optional) "My hands are busy" message or something - similar could be included while holding other stuff in both hands (like shield + sword).

Tiviacz1337 commented 2 months ago

I'll add backpacks to blacklist blocks so they won't be carry-able

Tiviacz1337 commented 2 months ago

https://www.curseforge.com/minecraft/mc-mods/travelers-backpack/files/all?page=1&pageSize=20