Fix crash of worldgen loottable (#86)

This commit is contained in:
IzzelAliz 2020-11-26 15:53:53 +08:00
parent 617d1f27b4
commit 7d71a47c49

View File

@ -46,11 +46,11 @@ public class ArclightMixinPlugin implements IMixinConfigPlugin {
),
ImmutableList.of()
))
.put("net.minecraft.world.storage.loot.LootParameters",
.put("net.minecraft.loot.LootParameters",
Maps.immutableEntry(
ImmutableList.of(
new FieldNode(Opcodes.ACC_PUBLIC | Opcodes.ACC_STATIC | Opcodes.ACC_FINAL, "LOOTING_MOD",
"Lnet/minecraft/world/storage/loot/LootParameter;", null, null)
"Lnet/minecraft/loot/LootParameter;", null, null)
),
ImmutableList.of()
))