Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mod crashes when you summon a bullet and it hits a mob #53

Open
Elextro-B opened this issue Nov 23, 2024 · 1 comment
Open

Mod crashes when you summon a bullet and it hits a mob #53

Elextro-B opened this issue Nov 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Elextro-B
Copy link

Elextro-B commented Nov 23, 2024

Minecraft version

1.21.1

Mod loader you are using

Forge

Musket Mod version

musketmod-1.21.1-fabric-1.5.3

Modpack info or mod list

A heavily modified version of Fabulously Optimised. I don't think any of the other mods are causing it

The latest.log file and hs_err_pidXXX if exists

https://pastebin.com/GWAhaRpa

Issue description

When you summon a bullet, it just falls to the ground and makes a dirt block-breaking noise. But if it hits a mob, the entire game crashes, and the world is now hard locked with the game crashing every time I try to get into it. After looking through the crash log, the most likely reason is that since there is no "shooter" (since the bullet was summoned rather than shot), the game doesn't know who shot the bullet which crashes the game. I'm basing this off the main error which says the "shooter" is null

This seems to be the main error: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1297.method_5781()" because "shooter" is null

I don't think this is a high-priority issue since you need commands to summon a bullet but it still crashes the game which probably makes it a bug.

Steps to reproduce (if reproducing the issue requires exact steps)

  1. Summon a bullet on top of a mob
  2. Crash
@Elextro-B Elextro-B added the bug Something isn't working label Nov 23, 2024
@Elextro-B
Copy link
Author

Here's a video

ewewukek.s.Musket.Mod.crash.video.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant