Skip to content

Commit

Permalink
renamed Unknown Ore to Unidentified Ore
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoriusT committed Apr 13, 2024
1 parent a2995ab commit 2216a5d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main/java/gregapi/lang/LanguageHandler.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 GregTech-6 Team
* Copyright (c) 2024 GregTech-6 Team
*
* This file is part of GregTech.
*
Expand Down Expand Up @@ -164,6 +164,8 @@ public static String getLocalName(OreDictPrefix aPrefix, OreDictMaterial aMateri
if (aPrefix == OP.crateGtPlate || aPrefix == OP.crateGt64Plate || aPrefix == OP.blockPlate ) return aPrefix.mMaterialPre + getLocalName(OP.plate , aMaterial);
if (aPrefix == OP.crateGtPlateGem || aPrefix == OP.crateGt64PlateGem || aPrefix == OP.blockPlateGem) return aPrefix.mMaterialPre + getLocalName(OP.plateGem, aMaterial);

if (aMaterial.mID >= 0 && aMaterial.mID < 10 && aPrefix.contains(TD.Prefix.ORE)) return "Unidentified Ore";

if (APRIL_FOOLS) {
if (aMaterial == MT.Empty) {
if (aPrefix == OP.bulletGtSmall) return aPrefix.mMaterialPre + "Bolt Shaft";
Expand All @@ -183,8 +185,8 @@ public static String getLocalName(OreDictPrefix aPrefix, OreDictMaterial aMateri
if (aPrefix == OP.bulletGtSmall) return "Small Bullet Casing";
if (aPrefix == OP.bulletGtMedium) return "Medium Bullet Casing";
if (aPrefix == OP.bulletGtLarge) return "Large Bullet Casing";
if (aPrefix.contains(TD.Prefix.ORE)) return "Unknown Ore";
if (aPrefix.contains(TD.Prefix.ORE_PROCESSING_BASED)) return "Processed Unknown Ore";
if (aPrefix.contains(TD.Prefix.ORE)) return "Unidentified Ore";
if (aPrefix.contains(TD.Prefix.ORE_PROCESSING_BASED)) return "Processed Unidentified Ore";
} else
if (aMaterial == MT.Stone) {
if (aPrefix == OP.rockGt) return "Rock";
Expand Down

0 comments on commit 2216a5d

Please sign in to comment.