diff --git a/src/main/java/com/minelittlepony/unicopia/forgebullshit/RegistryLockSpinner.java b/src/main/java/com/minelittlepony/unicopia/forgebullshit/RegistryLockSpinner.java index 9f3fbbf3..25eb2ac9 100644 --- a/src/main/java/com/minelittlepony/unicopia/forgebullshit/RegistryLockSpinner.java +++ b/src/main/java/com/minelittlepony/unicopia/forgebullshit/RegistryLockSpinner.java @@ -4,8 +4,6 @@ import java.lang.reflect.Field; import java.lang.reflect.Modifier; import net.minecraft.util.registry.RegistryNamespaced; -import net.minecraftforge.fml.common.Loader; -import net.minecraftforge.fml.common.ModContainer; import net.minecraftforge.registries.ILockableRegistry; public final class RegistryLockSpinner { diff --git a/src/main/java/com/minelittlepony/unicopia/item/ItemApple.java b/src/main/java/com/minelittlepony/unicopia/item/ItemApple.java index dbc8d7a8..4bf71945 100644 --- a/src/main/java/com/minelittlepony/unicopia/item/ItemApple.java +++ b/src/main/java/com/minelittlepony/unicopia/item/ItemApple.java @@ -72,7 +72,10 @@ public class ItemApple extends ItemFood { public ItemApple(String domain, String name) { super(4, 3, false); setTranslationKey(name); - setRegistryName(domain, name); + + if (!"minecraft".contentEquals(domain)) { + setRegistryName(domain, name); + } } public ItemApple setSubTypes(String... types) {