All the Mods 9 - ATM9

All the Mods 9 - ATM9

9M Downloads

[Bug]: Bloodmagic NullPointerException causing chunk loading errors

TrickShotMLG02 opened this issue ยท 1 comments

commented

Possible Fixes

Yes

Modpack Version

0.2.58

What happened?

When placing a bloodstonebrick I get the following errors in the console spammed repeatedly and getting serious chunk loading errors

java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.block.state.BlockState.m_60734_()" because "p_129203_" is null
at net.minecraft.nbt.NbtUtils.m_129202_(NbtUtils.java:254) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at wayoftime.bloodmagic.common.tile.TileSpectral.serialize(TileSpectral.java:82) ~[bloodmagic-1.20.1-3.3.2-44.jar%23557!/:1.20.1-3.3.2-44]
at wayoftime.bloodmagic.common.tile.base.TileBase.m_5995_(TileBase.java:132) ~[bloodmagic-1.20.1-3.3.2-44.jar%23557!/:1.20.1-3.3.2-44]
at net.minecraft.network.protocol.game.ClientboundLevelChunkPacketData$BlockEntityInfo.m_195691_(ClientboundLevelChunkPacketData.java:152) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.network.protocol.game.ClientboundLevelChunkPacketData.(ClientboundLevelChunkPacketData.java:44) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.network.protocol.game.ClientboundLevelChunkWithLightPacket.(ClientboundLevelChunkWithLightPacket.java:24) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.level.ChunkMap.m_183760_(ChunkMap.java:1261) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.level.ChunkMap.m_183754_(ChunkMap.java:892) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.level.ChunkMap.m_140184_(ChunkMap.java:1103) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.level.ServerChunkCache.m_8385_(ServerChunkCache.java:455) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.m_7185_(ServerGamePacketListenerImpl.java:929) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.network.protocol.game.ServerboundMovePlayerPacket.m_5797_(ServerboundMovePlayerPacket.java:114) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.network.protocol.game.ServerboundMovePlayerPacket$PosRot.m_5797_(ServerboundMovePlayerPacket.java:16) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.network.protocol.PacketUtils.m_263899_(PacketUtils.java:22) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:770) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:161) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:753) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:747) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:115) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:732) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:665) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23911!/:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

Cant remove the block with worldedit either (after adding the mod for that purpose), since i also get a nullpointer exception there

latest.log

No response

Developer reports

No response

commented

Thats a BloodMagic bug, doesnt seem to be caused by the modpack in any way
Consider closing this issue and opening one in
https://github.com/WayofTime/BloodMagic/issues