Just Leveling [Forge]

Just Leveling [Forge]

162k Downloads

Exception ticking world crash (also corrupts)

TheXWolf opened this issue ยท 0 comments

commented

Run into this in a number of places, this has happened after a creeper blew up and now the world won't load back in. Lemme know what else you need.

java.lang.NullPointerException: Cannot invoke "net.minecraft.client.player.LocalPlayer.getCapability(net.minecraftforge.common.capabilities.Capability)" because "net.minecraft.client.Minecraft.m_91087_().f_91074_" is null
	at com.dplayend.justleveling.common.capability.AptitudeCapability.get(AptitudeCapability.java:94) ~[justleveling-forge-1.20.x-v1.7.jar%23308!/:forge-1.20.x-v1.7] {re:classloading}
	at com.dplayend.justleveling.registry.skills.Skill.isEnabled(Skill.java:139) ~[justleveling-forge-1.20.x-v1.7.jar%23308!/:forge-1.20.x-v1.7] {re:mixin,re:classloading}
	at net.minecraft.world.item.ItemStack.handler$cfd000$appendEnchantmentNames(ItemStack.java:1579) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:mixin,xf:fml:forge:itemstack,re:classloading,xf:fml:forge:itemstack,pl:mixin:APP:relics.mixins.json:MixinItemStack,pl:mixin:APP:justleveling.mixins.json:MixItemStack,pl:mixin:APP:forbidden_arcanus.mixins.json:ItemStackMixin,pl:mixin:A}
	at net.minecraft.world.item.ItemStack.m_41709_(ItemStack.java) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:mixin,xf:fml:forge:itemstack,re:classloading,xf:fml:forge:itemstack,pl:mixin:APP:relics.mixins.json:MixinItemStack,pl:mixin:APP:justleveling.mixins.json:MixItemStack,pl:mixin:APP:forbidden_arcanus.mixins.json:ItemStackMixin,pl:mixin:A}
	at net.minecraft.world.item.ItemStack.m_41651_(ItemStack.java:640) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:mixin,xf:fml:forge:itemstack,re:classloading,xf:fml:forge:itemstack,pl:mixin:APP:relics.mixins.json:MixinItemStack,pl:mixin:APP:justleveling.mixins.json:MixItemStack,pl:mixin:APP:forbidden_arcanus.mixins.json:ItemStackMixin,pl:mixin:A}
	at com.lootbeams.ClientSetup.lambda$onItemCreation$3(ClientSetup.java:189) ~[lootbeams-1.20.1-1.2.3.jar%23310!/:1.20.1-1.2.3] {re:mixin,re:classloading}
	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) ~[?:?] {re:mixin}
	at com.lootbeams.ClientSetup.onItemCreation(ClientSetup.java:189) ~[lootbeams-1.20.1-1.2.3.jar%23310!/:1.20.1-1.2.3] {re:mixin,re:classloading}
	at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260) ~[eventbus-6.0.5.jar%2387!/:?] {}
	at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252) ~[eventbus-6.0.5.jar%2387!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2387!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2387!/:?] {}
	at net.minecraft.world.level.entity.PersistentEntitySectionManager.m_157538_(PersistentEntitySectionManager.java:79) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:classloading}
	at net.minecraft.world.level.entity.PersistentEntitySectionManager.m_157592_(PersistentEntitySectionManager.java:260) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:classloading}
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?] {}
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?] {}
	at net.minecraft.world.level.entity.PersistentEntitySectionManager.m_157582_(PersistentEntitySectionManager.java:259) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:classloading}
	at net.minecraft.world.level.entity.PersistentEntitySectionManager.m_157506_(PersistentEntitySectionManager.java:269) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:classloading}
	at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:355) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:perf.cache_strongholds.ServerLevelMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.chunk_deadlock.ServerLevelMixin,pl:mixin:APP:supplementaries-common.mixins.json:ServerLevelMixin,pl:mixin:APP:chunkpregen.mixins.json:common.server.ServerLevelMixin,pl:mixin:APP:crafttweaker.mixins.json:common.transform.world.level.MixinServerLevel,pl:mixin:APP:create.mixins.json:accessor.ServerLevelAccessor,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:893) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
	at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:modernfix-common.mixins.json:perf.thread_priorities.IntegratedServerMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23368!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
	at java.lang.Thread.run(Thread.java:833) ~[?:?] {re:mixin}