player invalit data on create world 1.18.2
vsarankinispo opened this issue ยท 0 comments
i got invalid player data
i use forge 1.18.2 - 40.1.86
silentlib - 6.2.0
silentgear - 2.10.16
silentgems - 4.3.1
[Server thread/ERROR] [net.minecraft.server.network.ServerLoginPacketListenerImpl/]: Couldn't place player in world
net.minecraft.ReportedException: Failed to recalculate gear properties
at net.silentchaos512.gear.util.GearData.recalculateStats(GearData.java:104) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
at net.silentchaos512.gear.api.item.ICoreItem.construct(ICoreItem.java:37) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
at net.silentchaos512.gear.crafting.recipe.ShapelessGearRecipe.lambda$new$0(ShapelessGearRecipe.java:35) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
at net.minecraftforge.common.util.Lazy$Fast.get(Lazy.java:55) ~[forge-1.18.2-40.1.86-universal.jar%23113!/:?]
at net.silentchaos512.gear.crafting.recipe.ShapelessGearRecipe.m_8043_(ShapelessGearRecipe.java:76) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
at vazkii.quark.content.tweaks.module.AutomaticRecipeUnlockModule.lambda$onPlayerLoggedIn$0(AutomaticRecipeUnlockModule.java:64) ~[Quark-3.2-358.jar%2393!/:3.2-358]
at java.util.ArrayList.removeIf(ArrayList.java:1682) ~[?:?]
at java.util.ArrayList.removeIf(ArrayList.java:1660) ~[?:?]
at vazkii.quark.content.tweaks.module.AutomaticRecipeUnlockModule.onPlayerLoggedIn(AutomaticRecipeUnlockModule.java:61) ~[Quark-3.2-358.jar%2393!/:3.2-358]
at net.minecraftforge.eventbus.ASMEventHandler_667_AutomaticRecipeUnlockModule_onPlayerLoggedIn_PlayerLoggedInEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?]
at net.minecraftforge.event.ForgeEventFactory.firePlayerLoggedIn(ForgeEventFactory.java:833) ~[forge-1.18.2-40.1.86-universal.jar%23113!/:?]
at net.minecraft.server.players.PlayerList.m_11261_(PlayerList.java:238) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_143699_(ServerLoginPacketListenerImpl.java:138) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10055_(ServerLoginPacketListenerImpl.java:125) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10050_(ServerLoginPacketListenerImpl.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at net.minecraft.network.Connection.m_129483_(Connection.java:241) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:143) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:916) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:842) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:84) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:685) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.client.multiplayer.ClientPacketListener.m_6198_()" because the return value of "net.minecraft.client.Minecraft.m_91403_()" is null
at net.minecraftforge.network.simple.SimpleChannel.sendToServer(SimpleChannel.java:96) ~[forge-1.18.2-40.1.86-universal.jar%23113!/:?]
at net.silentchaos512.gear.util.GearData.getStat(GearData.java:313) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
at net.silentchaos512.gear.util.GearData.getStat(GearData.java:297) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
at net.silentchaos512.gear.util.GearData.getStatInt(GearData.java:323) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
at net.silentchaos512.gear.item.gear.GearSwordItem.getMaxDamage(GearSwordItem.java:81) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
at net.minecraft.world.item.ItemStack.m_41776_(ItemStack.java:304) ~[client-1.18.2-20220404.173914-srg.jar%23108!/:?]
at net.silentchaos512.gear.util.GearHelper.isBroken(GearHelper.java:340) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
at net.silentchaos512.gear.util.TraitHelper.getTraits(TraitHelper.java:276) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
at net.silentchaos512.gear.util.GearData.tryRecalculateStats(GearData.java:138) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
at net.silentchaos512.gear.util.GearData.recalculateStats(GearData.java:96) ~[silent-gear-1.18.2-2.10.16.jar%2395!/:2.10.16]
... 25 more