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

[1.20.6] Cancelling MobSpawnEvent.FinalizeSpawn for a spawner causes NullPointerException #9971

Closed
thexaero opened this issue May 11, 2024 · 0 comments
Labels

Comments

@thexaero
Copy link

Minecraft Version: 1.20.6

Forge Version: tested on 50.0.9 but doesn't seem to be fixed on 50.0.13

Logs:

java.lang.NullPointerException: Cannot invoke "net.minecraftforge.event.entity.living.MobSpawnEvent$FinalizeSpawn.getDifficulty()" because "event" is null
	at TRANSFORMER/minecraft@1.20.6/net.minecraft.world.level.BaseSpawner.serverTick(BaseSpawner.java:160) ~[forge-1.20.6-50.0.9_mapped_official_1.20.6.jar%230!/:?] {re:classloading}
	at TRANSFORMER/minecraft@1.20.6/net.minecraft.world.level.block.entity.SpawnerBlockEntity.serverTick(SpawnerBlockEntity.java:63) ~[forge-1.20.6-50.0.9_mapped_official_1.20.6.jar%230!/:?] {re:classloading}
@thexaero thexaero added the Triage This request requires the active attention of the Triage Team. Requires labelling or reviews. label May 11, 2024
@autoforge autoforge bot added the 1.20 label May 11, 2024
@autoforge autoforge bot removed the Triage This request requires the active attention of the Triage Team. Requires labelling or reviews. label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant