Electroblob77 / Wizardry

Source code for Electroblob's Wizardry, a Minecraft mod about magic, exploration and adventure. Open-source so other aspiring wizards (a.k.a. programmers 😎) can see the real magic! ✨ Just want to download and play? Head over to the CurseForge page via the link below:
https://minecraft.curseforge.com/projects/electroblobs-wizardry
Other
202 stars 105 forks source link

[Bug] TileEntityReceptacle NPE #875

Open jbredwards opened 4 months ago

jbredwards commented 4 months ago

Is there an existing issue for this?

Observed behaviour

TileEntityReceptacle can cause an NPE by passing blockType into world::notifyNeighborsRespectDebug here.

Expected behaviour

This be fixed by changing blockType to getBlockType()

Steps to reproduce

See https://github.com/jbredwards/Fluidlogged-API/issues/196

Crashlog

No response

Environment (Singleplayer/Server, etc.)

Issue present on both sides

Mod version

4.3.12

Minecraft version

1.12.2

Forge version

14.23.5.2847

Other mods

Fluidlogged API v2.2.7