LittleTiles

LittleTiles

12M Downloads

When you click on any animated door, it does nothing and displays an error in the log (1.20.1)

151chit opened this issue ยท 5 comments

commented

latest.log
debug.log
When I click on the animated door I get the error

Cannot assign field "currentPrimedTnt" because "this.spigotConfig" is null

Most likely this is due to the use of the Mohist server core, because there is no spigot on the forge kernel, but is it possible to somehow fix this without replacing the server kernel with another one?

However this works great in single player

commented

Does this issue still occur? Sorry for not responding earlier.

commented

Yes, still occur

commented

@SynteticX can you send a log file or crash-report of it?

commented

latest.log
This still happens on the latest versions of forge, mohist, littletiles and creativeCore. It only happens on the server, and when the server is on the mohist core, when it receives a network packet about opening the little tiles door, some method is executed with the this.spigotConfig field which is null:
[15:51:54] [Server thread/ERROR] [net.minecraft.network.protocol.PacketUtils]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket@31717212, suppressing error
java.lang.NullPointerException: Cannot assign field "currentPrimedTnt" because "this.spigotConfig" is null
at net.minecraft.world.level.Level.m_46463_(Level.java:649) ~[server-1.20.1-20230612.114412-srg.jar%23202!/:?] at team.creative.littletiles.common.entity.animation.LittleAnimationLevel.initialTick(LittleAnimationLevel.java:260) ~[LittleTiles_BETA_v1.6.0-pre131_mc1.2 0.1.jar%23200!/:1.6.0-pre131]

commented

animTick
level