Fix crate rarity

This commit is contained in:
PepperBell 2021-05-03 18:35:57 -07:00
parent fd030d3273
commit 77ee23c208

View file

@ -212,7 +212,7 @@ public class BuilderTransformers {
});
})
.item()
.properties(p -> type.equals("creative") ? p : p.rarity(Rarity.EPIC))
.properties(p -> type.equals("creative") ? p.rarity(Rarity.EPIC) : p)
.transform(ModelGen.customItemModel("crate", type, "single"));
}