Werevolf loot table is invalid
LemADEC opened this issue ยท 0 comments
Issue type:
- ๐ Bug
Short description:
Exception in console when Werevolf villager dies.
Steps to reproduce the problem:
boot the game
spawn a werevolf
kill it
Expected behaviour:
No exception/console spam
Versions:
- This mod: EvilCraft-1.12.2-0.10.59.jar
- Minecraft: 1.12.2
- Forge: 1.12.2-14.23.4.2707
Log file:
[17:05:20] [Server thread/ERROR]: Couldn't load loot table evilcraft:entities/werewolf from jar:file:/home/wwm/_rho/./mods/EvilCraft-1.12.2-0.10.59.jar!/assets/evilcraft/loot_tables/entities/werewolf.json
com.google.gson.JsonParseException: Loot Table "evilcraft:entities/werewolf" Missing `name` entry for pool #0
> at net.minecraftforge.common.ForgeHooks.readPoolName(ForgeHooks.java:1240) ~[ForgeHooks.class:?]
> at net.minecraft.world.storage.loot.LootPool$Serializer.deserialize(LootPool.java:143) ~[bfq$a.class:?]
> at net.minecraft.world.storage.loot.LootPool$Serializer.deserialize(LootPool.java:138) ~[bfq$a.class:?]
> at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) ~[TreeTypeAdapter.class:?]
> at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[TypeAdapterRuntimeTypeWrapper.class:?]
> at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) ~[ArrayTypeAdapter.class:?]
> at com.google.gson.Gson.fromJson(Gson.java:887) ~[Gson.class:?]
> at com.google.gson.Gson.fromJson(Gson.java:952) ~[Gson.class:?]
> at com.google.gson.internal.bind.TreeTypeAdapter$GsonContextImpl.deserialize(TreeTypeAdapter.java:162) ~[TreeTypeAdapter$GsonContextImpl.class:?]
> at net.minecraft.util.JsonUtils.func_188179_a(SourceFile:439) ~[rc.class:?]
> at net.minecraft.util.JsonUtils.func_188177_a(SourceFile:455) ~[rc.class:?]
> at net.minecraft.world.storage.loot.LootTable$Serializer.deserialize(LootTable.java:204) ~[bfs$a.class:?]
> at net.minecraft.world.storage.loot.LootTable$Serializer.deserialize(LootTable.java:199) ~[bfs$a.class:?]
> at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) ~[TreeTypeAdapter.class:?]
> at com.google.gson.Gson.fromJson(Gson.java:887) ~[Gson.class:?]
> at com.google.gson.Gson.fromJson(Gson.java:852) ~[Gson.class:?]
> at com.google.gson.Gson.fromJson(Gson.java:801) ~[Gson.class:?]
> at com.google.gson.Gson.fromJson(Gson.java:773) ~[Gson.class:?]
> at net.minecraftforge.common.ForgeHooks.loadLootTable(ForgeHooks.java:1164) ~[ForgeHooks.class:?]
> at net.minecraft.world.storage.loot.LootTableManager$Loader.func_186518_c(LootTableManager.java:156) [bfv$a.class:?]
> at net.minecraft.world.storage.loot.LootTableManager$Loader.load(LootTableManager.java:72) [bfv$a.class:?]
> at net.minecraft.world.storage.loot.LootTableManager$Loader.load(LootTableManager.java:53) [bfv$a.class:?]
> at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716) [minecraft_server.1.12.2.jar:?]
> at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424) [minecraft_server.1.12.2.jar:?]
> at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298) [minecraft_server.1.12.2.jar:?]
> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211) [minecraft_server.1.12.2.jar:?]
> at com.google.common.cache.LocalCache.get(LocalCache.java:4154) [minecraft_server.1.12.2.jar:?]
> at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158) [minecraft_server.1.12.2.jar:?]
> at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147) [minecraft_server.1.12.2.jar:?]
> at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153) [minecraft_server.1.12.2.jar:?]
> at net.minecraft.world.storage.loot.LootTableManager.func_186521_a(LootTableManager.java:40) [bfv.class:?]
> at net.minecraft.entity.EntityLiving.func_184610_a(EntityLiving.java:532) [vq.class:?]
> at net.minecraft.entity.EntityLivingBase.func_70645_a(EntityLivingBase.java:1188) [vp.class:?]
> at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:1014) [vp.class:?]
> at net.minecraft.entity.monster.EntityMob.func_70097_a(EntityMob.java:70) [ade.class:?]
> at net.minecraft.entity.EntityLivingBase.func_180430_e(EntityLivingBase.java:1316) [vp.class:?]
> at net.minecraft.block.Block.func_180658_a(Block.java:821) [aow.class:?]
> at net.minecraft.entity.Entity.func_184231_a(Entity.java:1130) [vg.class:?]
> at net.minecraft.entity.EntityLivingBase.func_184231_a(EntityLivingBase.java:213) [vp.class:?]
> at net.minecraft.entity.Entity.func_70091_d(Entity.java:895) [vg.class:?]
> at net.minecraft.entity.EntityLivingBase.func_191986_a(EntityLivingBase.java:1949) [vp.class:?]
> at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2384) [vp.class:?]
> at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:577) [vq.class:?]
> at net.minecraft.entity.monster.EntityMob.func_70636_d(EntityMob.java:45) [ade.class:?]
> at org.cyclops.evilcraft.entity.monster.Werewolf.func_70636_d(Werewolf.java:151) [Werewolf.class:?]
> at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2170) [vp.class:?]
> at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:295) [vq.class:?]