TheXFactor117 / Levels

A small, Minecraft mod focused around the aspect of weapon and armor leveling.
GNU General Public License v2.0
25 stars 19 forks source link

[BUG] Incompatible with tinkers 1.7.10 #146

Open AlienXtream opened 7 years ago

AlienXtream commented 7 years ago

causes java.lang.NullPointerException: Ticking entity at com.thexfactor117.levels.leveling.AbilitySelection.getRandomizedAbilities(AbilitySelection.java:41) on tinkers tool levelup with igana tweaks

full log: ---- Minecraft Crash Report ---- // Hey, that tickles! Hehehe!

Time: 15/09/17 10:40 AM Description: Ticking entity

java.lang.NullPointerException: Ticking entity at com.thexfactor117.levels.leveling.AbilitySelection.getRandomizedAbilities(AbilitySelection.java:41) at com.thexfactor117.levels.leveling.Experience.getNextLevel(Experience.java:66) at com.thexfactor117.levels.events.EventLivingDeath.onEntityDeath(EventLivingDeath.java:123) at cpw.mods.fml.common.eventhandler.ASMEventHandler_743_EventLivingDeath_onEntityDeath_LivingDeathEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraftforge.common.ForgeHooks.onLivingDeath(ForgeHooks.java:303) at net.minecraft.entity.EntityLivingBase.func_70645_a(EntityLivingBase.java:891) at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:855) at net.minecraft.entity.monster.EntityMob.func_70097_a(SourceFile:54) at net.minecraft.entity.monster.EntityZombie.func_70097_a(EntityZombie.java:222) at tconstruct.library.entity.ProjectileBase.dealDamage(ProjectileBase.java:321) at tconstruct.weaponry.entity.ArrowEntity.dealDamage(ArrowEntity.java:98) at tconstruct.library.entity.ProjectileBase.onHitEntity(ProjectileBase.java:266) at tconstruct.library.entity.ProjectileBase.updateInAir(ProjectileBase.java:468) at tconstruct.library.entity.ProjectileBase.func_70071h(ProjectileBase.java:367) at net.minecraft.world.World.func_72866_a(World.java:2070) at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648) at net.minecraft.world.World.func_72870_g(World.java:2034) at net.minecraft.world.World.func_72939_s(World.java:1887) at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Stacktrace: at com.thexfactor117.levels.leveling.AbilitySelection.getRandomizedAbilities(AbilitySelection.java:41) at com.thexfactor117.levels.leveling.Experience.getNextLevel(Experience.java:66) at com.thexfactor117.levels.events.EventLivingDeath.onEntityDeath(EventLivingDeath.java:123) at cpw.mods.fml.common.eventhandler.ASMEventHandler_743_EventLivingDeath_onEntityDeath_LivingDeathEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraftforge.common.ForgeHooks.onLivingDeath(ForgeHooks.java:303) at net.minecraft.entity.EntityLivingBase.func_70645_a(EntityLivingBase.java:891) at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:855) at net.minecraft.entity.monster.EntityMob.func_70097_a(SourceFile:54) at net.minecraft.entity.monster.EntityZombie.func_70097_a(EntityZombie.java:222) at tconstruct.library.entity.ProjectileBase.dealDamage(ProjectileBase.java:321) at tconstruct.weaponry.entity.ArrowEntity.dealDamage(ArrowEntity.java:98) at tconstruct.library.entity.ProjectileBase.onHitEntity(ProjectileBase.java:266) at tconstruct.library.entity.ProjectileBase.updateInAir(ProjectileBase.java:468) at tconstruct.library.entity.ProjectileBase.func_70071h(ProjectileBase.java:367) at net.minecraft.world.World.func_72866_a(World.java:2070) at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648) at net.minecraft.world.World.func_72870_g(World.java:2034)

-- Entity being ticked -- Details: Entity Type: TConstruct.Arrow (tconstruct.weaponry.entity.ArrowEntity) Entity ID: 66515 Entity Name: entity.TConstruct.Arrow.name Entity's Exact location: 79.86, 78.14, 451.98 Entity's Block location: World: (79,78,451), Chunk: (at 15,4,3 in 4,28; contains blocks 64,0,448 to 79,255,463), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Entity's Momentum: -9.35, -4.28, 4.68 Stacktrace: at net.minecraft.world.World.func_72939_s(World.java:1887) at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)

--