From afe3e353f1a74fb529543423a9a9b46b70d47ea1 Mon Sep 17 00:00:00 2001 From: DStrand1 Date: Wed, 11 Aug 2021 19:54:46 -0500 Subject: [PATCH] make `addOrePrefix` public --- src/main/java/gregtech/common/items/MetaItems.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/gregtech/common/items/MetaItems.java b/src/main/java/gregtech/common/items/MetaItems.java index 6f7457465f1..2790fefda0a 100644 --- a/src/main/java/gregtech/common/items/MetaItems.java +++ b/src/main/java/gregtech/common/items/MetaItems.java @@ -586,7 +586,8 @@ private static void registerSpecialItemModel(ModelBakeEvent event, MetaValueItem event.getModelRegistry().putObject(modelResourceLocation, bakedModel); } - private static void addOrePrefix(OrePrefix orePrefix) { + @SuppressWarnings("unused") + public static void addOrePrefix(OrePrefix orePrefix) { orePrefixes.add(orePrefix); } }