You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[00:22:32] [提示] [服务器]: [___L1X: Given [Shotgun] * 1 to __L1X]
| at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
| at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
|Caused by: java.lang.NullPointerException
| at net.infstudio.goki.common.stat.tool.ToolSpecificStat.isItemSupported(ToolSpecificStat.java:88) ~[ToolSpecificStat.class:?]
| at net.infstudio.goki.common.handlers.CommonHandler.entityHurt(CommonHandler.java:268) ~[CommonHandler.class:?]
| at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_611_CommonHandler_entityHurt_LivingHurtEvent.invoke(.dynamic) ~[?:?]
| at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
| at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) ~[EventBus.class:?]
| at net.minecraftforge.common.ForgeHooks.onLivingHurt(ForgeHooks.java:604) ~[ForgeHooks.class:14.23.5.2860]
| at net.minecraft.entity.EntityLivingBase.func_70665_d(EntityLivingBase.java:1410) ~[vp.class:?]
| at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:926) ~[vp.class:?]
| at net.minecraft.entity.monster.EntityMob.func_70097_a(EntityMob.java:70) ~[ade.class:?]
| at net.minecraft.entity.monster.EntityZombie.func_70097_a(EntityZombie.java:233) ~[adt.class:?]
| at com.mrcrayfish.guns.entity.EntityProjectile.onHitEntity(EntityProjectile.java:299) ~[EntityProjectile.class:?]
| at com.mrcrayfish.guns.entity.EntityProjectile.onHit(EntityProjectile.java:277) ~[EntityProjectile.class:?]
| at com.mrcrayfish.guns.entity.EntityProjectile.func_70071_h(EntityProjectile.java:166) ~[EntityProjectile.class:?]
| at net.minecraft.world.World.func_72866_a(World.java:1996) ~[amu.class:?]
| at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832) ~[oo.class:?]
| at net.minecraft.world.World.func_72870_g(World.java:1958) ~[amu.class:?]
| at net.minecraft.world.World.func_72939_s(World.java:1762) ~[amu.class:?]
| at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613) ~[oo.class:?]
| at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767) ~[MinecraftServer.class:?]
| ... 4 more
The text was updated successfully, but these errors were encountered:
(详细错误日志在最下面)
环境:
MC版本1.12.2,使用Forge ModLoader
GokiStats 1.12.2-1.2.10(https://www.curseforge.com/minecraft/mc-mods/gokistats/files/all?page=1&pageSize=20&version=1.12.2)
Gun Mod 0.15.3(https://www.curseforge.com/minecraft/mc-mods/mrcrayfishs-gun-mod/files/all?page=1&pageSize=20&version=1.12.2)
此外,维克的现代战争里的枪也会导致同样的报错。大概是因为实体受伤时会判断该造成伤害的物品是否被支持(应该是判断能不能吃到技能加成),结果有空指针?
如果要确认更多信息,可以加我qq2373287929。劳烦更改,不胜感激!
|[00:22:32] [提示] [服务器]: [___L1X: Given [Shotgun] * 1 to __L1X]
| at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
| at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
|Caused by: java.lang.NullPointerException
| at net.infstudio.goki.common.stat.tool.ToolSpecificStat.isItemSupported(ToolSpecificStat.java:88) ~[ToolSpecificStat.class:?]
| at net.infstudio.goki.common.handlers.CommonHandler.entityHurt(CommonHandler.java:268) ~[CommonHandler.class:?]
| at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_611_CommonHandler_entityHurt_LivingHurtEvent.invoke(.dynamic) ~[?:?]
| at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
| at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) ~[EventBus.class:?]
| at net.minecraftforge.common.ForgeHooks.onLivingHurt(ForgeHooks.java:604) ~[ForgeHooks.class:14.23.5.2860]
| at net.minecraft.entity.EntityLivingBase.func_70665_d(EntityLivingBase.java:1410) ~[vp.class:?]
| at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:926) ~[vp.class:?]
| at net.minecraft.entity.monster.EntityMob.func_70097_a(EntityMob.java:70) ~[ade.class:?]
| at net.minecraft.entity.monster.EntityZombie.func_70097_a(EntityZombie.java:233) ~[adt.class:?]
| at com.mrcrayfish.guns.entity.EntityProjectile.onHitEntity(EntityProjectile.java:299) ~[EntityProjectile.class:?]
| at com.mrcrayfish.guns.entity.EntityProjectile.onHit(EntityProjectile.java:277) ~[EntityProjectile.class:?]
| at com.mrcrayfish.guns.entity.EntityProjectile.func_70071_h(EntityProjectile.java:166) ~[EntityProjectile.class:?]
| at net.minecraft.world.World.func_72866_a(World.java:1996) ~[amu.class:?]
| at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832) ~[oo.class:?]
| at net.minecraft.world.World.func_72870_g(World.java:1958) ~[amu.class:?]
| at net.minecraft.world.World.func_72939_s(World.java:1762) ~[amu.class:?]
| at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613) ~[oo.class:?]
| at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767) ~[MinecraftServer.class:?]
| ... 4 more
The text was updated successfully, but these errors were encountered: