Cubed-Development / Modern-Warfare-Cubed

Welcome to the official GitHub Repository for Modern Warfare Cubed!
Apache License 2.0
91 stars 59 forks source link

Exit the game and re-enter the gun is broken #379

Open fzrdwa123456 opened 5 months ago

fzrdwa123456 commented 5 months ago

Describe the bug

When changing bullets, exit the game, re-enter, throw the magazines associated with the gun, and then re-enter the game, and the gun will break

Reproducibility

Screenshots and/or videos

No response

Logs

no logs

Debug Logs

No response

Crash Reports

No response

MWC Version

0.1.3

Forge Version

1.12.2 forge 14.23.5.2860

Red Core Version

0.6 dev 3

MixinBooter Version

9.1

Java Version

1.8

Java Virtual Machine

Hotspot

Operating System

windows 11

GPU Vendor

NVIDIA

Code of Conduct

fzrdwa123456 commented 5 months ago

https://github.com/Cubed-Development/Modern-Warfare-Cubed/assets/130232431/a5a4239a-6a48-4958-bd8c-62af9515ec12

fzrdwa123456 commented 5 months ago

Guns cannot be discarded and aiming and reloading can only be discarded through the inventory

Paneedah commented 5 months ago

@Desoroxxx This one definitely needs a look at.

fzrdwa123456 commented 5 months ago

@Desoroxxx This one definitely needs a look at.

It's hard to trigger this bug in my latest test because it might be probabilistic, but this bug exists, after all the video and everything is recorded

fzrdwa123456 commented 5 months ago

@Desoroxxx This one definitely needs a look at.

I tested it again, and this time it's not a matter of probability but accuracy. When shooting with your gun and pressing "R" to reload, the gun will search for related items. While it's doing that, if you throw the gun into a box and then throw out the related items, upon rejoining the game or staying in the game, the gun will become damaged and the items will disappear.