lumien231 / Random-Things

The Random Things Minecraft Mod
69 stars 42 forks source link

bug a my server #535

Closed loe435 closed 12 months ago

loe435 commented 1 year ago

chat in minecraft crash

[13:29:40 ERROR]: Exception caught during firing event net.minecraftforge.event.ServerChatEvent@5a47652: java.lang.NullPointerException: null at lumien.randomthings.tileentity.TileEntityChatDetector.checkMessage(TileEntityChatDetector.java:128) ~[TileEntityChatDetector.class:?] at lumien.randomthings.handler.RTEventHandler.chatEvent(RTEventHandler.java:822) ~[RTEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_660_RTEventHandler_chatEvent_ServerChatEvent.invoke(.dynamic) ~[?:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:96) ~[ASMEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:186) ~[EventBus.class:?] at net.minecraftforge.common.ForgeHooks.onServerChatEvent(ForgeHooks.java:517) ~[ForgeHooks.class:?] at net.minecraft.network.NetHandlerPlayServer.chat(NetHandlerPlayServer.java:1504) ~[pa.class:?] at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1443) ~[pa.class:?] at net.minecraft.network.play.client.CPacketChatMessage.lambda$processPacket$0(CPacketChatMessage.java:42) ~[la.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_361] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_361] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_361] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_361] at java.lang.Thread.run(Unknown Source) [?:1.8.0_361] [13:29:40 ERROR]: Index: 3 Listeners: [13:29:40 ERROR]: 0: HIGHEST [13:29:40 ERROR]: 1: ASM: noppes.npcs.ScriptPlayerEventHandler@600ffad3 invoke(Lnet/minecraftforge/event/ServerChatEvent;)V [13:29:40 ERROR]: 2: NORMAL [13:29:40 ERROR]: 3: ASM: lumien.randomthings.handler.RTEventHandler@7b95eabb chatEvent(Lnet/minecraftforge/event/ServerChatEvent;)V

help me please