Noobulus / Tetra-Pak

Source code for a WIP mod to add several new tool effects to tetra
MIT License
5 stars 5 forks source link

[bug]Could not parse internal loot modifiers #12

Open khjxiaogu opened 2 years ago

khjxiaogu commented 2 years ago

Could not parse loot modifier scorching and reaping and cause an exception, is this right?

[Server thread/ERROR] [net.minecraftforge.common.loot.LootModifierManager/]: Couldn't parse loot modifier tetrapak:scorching
java.lang.NullPointerException: null
    at net.minecraftforge.common.loot.LootModifierManager.deserializeModifier(LootModifierManager.java:139) ~[forge:?]
    at net.minecraftforge.common.loot.LootModifierManager.lambda$apply$0(LootModifierManager.java:115) ~[forge:?]
    at java.util.ArrayList.forEach(ArrayList.java:1540) ~[?:?]
    at net.minecraftforge.common.loot.LootModifierManager.apply(LootModifierManager.java:113) ~[forge:?]
    at net.minecraftforge.common.loot.LootModifierManager.func_212853_a_(LootModifierManager.java:54) ~[forge:?]
    at net.minecraft.client.resources.ReloadListener.func_215269_a(SourceFile:13) ~[?:?]
    ... more
[Server thread/ERROR] [net.minecraftforge.common.loot.LootModifierManager/]: Couldn't parse loot modifier tetrapak:reaping
java.lang.NullPointerException: null
    at net.minecraftforge.common.loot.LootModifierManager.deserializeModifier(LootModifierManager.java:139) ~[forge:?]
    at net.minecraftforge.common.loot.LootModifierManager.lambda$apply$0(LootModifierManager.java:115) ~[forge:?]
    at java.util.ArrayList.forEach(ArrayList.java:1540) ~[?:?]
    at net.minecraftforge.common.loot.LootModifierManager.apply(LootModifierManager.java:113) ~[forge:?]
    at net.minecraftforge.common.loot.LootModifierManager.func_212853_a_(LootModifierManager.java:54) ~[forge:?]
    at net.minecraft.client.resources.ReloadListener.func_215269_a(SourceFile:13) ~[?:?]
       ... more
Noobulus commented 2 years ago

Is this bug still present on 1.16?