Security Craft

Security Craft

54M Downloads

Placing a Sonic Security System inside of any replaceable block crashes the game

4wincode opened this issue ยท 2 comments

commented

Placing a Sonic Security System inside of any replaceable block (like grass, ferns, dead bushes, etc...) crashes the game on both the latest 1.17.1 and 1.18.1 releases with this error:

java.lang.NullPointerException: Cannot invoke "net.geforcemods.securitycraft.blockentities.SonicSecuritySystemBlockEntity.transferPositionsFromItem(net.minecraft.nbt.CompoundTag)" because the return value of "net.minecraft.world.level.Level.m_7702_(net.minecraft.core.BlockPos)" is null

The error consistently happened and crashed my game multiple times. The Sonic Security System, however, was actually placed in the world.

commented

Could you please send the full crash report? From the single line you gave us, we can only see what happens but not where in the code it happens, while the full crash report mentions it (and many other things) to let us have an easier time fixing the crash

commented

Ah, I'm sorry. Here it is
crash-2022-02-24_13.33.32-client.txt
(I was using other mods in this crash report but it happens without them)