Skip to content

Commit

Permalink
Fix missing method in loot modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaMachina committed Sep 9, 2020
1 parent eb4513b commit 60c90ef
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,10 @@ public UseHammerModifier read(ResourceLocation location, JsonObject object,
ILootCondition[] ailootcondition) {
return new UseHammerModifier(ailootcondition);
}

@Override
public JsonObject write(UseHammerModifier instance) {
return makeConditions(instance.conditions);
}
}
}

0 comments on commit 60c90ef

Please sign in to comment.