Skip to content

Commit

Permalink
Fix crash in loot data generation
Browse files Browse the repository at this point in the history
  • Loading branch information
MelanX committed Feb 3, 2025
1 parent 01ec7e4 commit 9e5b53d
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
public abstract class LootProviderBase<T> extends RegistryProviderBase {

protected final ModX mod;
protected final PackTarget packTarget;
protected final RegistrySet registries;
protected final String folder;
protected final LootContextParamSet params;
Expand All @@ -70,7 +69,6 @@ protected LootProviderBase(DatagenContext ctx, String folder, LootContextParamSe
private LootProviderBase(DatagenContext ctx, String folder, LootContextParamSet params, Supplier<Stream<Map.Entry<ResourceLocation, T>>> modElements, Function<T, ResourceLocation> allElementIds) {
super(ctx, DatagenStage.REGISTRY_SETUP);
this.mod = ctx.mod();
this.packTarget = ctx.target();
this.registries = ctx.registries();
this.folder = folder;
this.params = params;
Expand All @@ -85,7 +83,6 @@ private LootProviderBase(DatagenContext ctx, String folder, LootContextParamSet
protected LootProviderBase(DatagenContext ctx, String folder, LootContextParamSet params, Function<T, ResourceLocation> elementIds) {
super(ctx, DatagenStage.REGISTRY_SETUP);
this.mod = ctx.mod();
this.packTarget = ctx.target();
this.registries = ctx.registries();
this.folder = folder;
this.params = params;
Expand Down

0 comments on commit 9e5b53d

Please sign in to comment.