Browse Source

fixed some localisation for soulsand items

parent
commit
b1b189cc6b
Signed by: Gregorius Techneticies <gregoriustech@gmail.com> GPG Key ID: 4C7DC365E9F99806
1 changed files with 9 additions and 3 deletions
  1. 9
    3
      src/main/java/gregapi/lang/LanguageHandler.java

+ 9
- 3
src/main/java/gregapi/lang/LanguageHandler.java View File

@@ -149,12 +149,18 @@ public class LanguageHandler {
149 149
 			if (aPrefix == OP.rockGt)                                       return "Rock";
150 150
 		} else
151 151
 		if (aMaterial == MT.AncientDebris) {
152
-			if (aPrefix.mNameInternal.startsWith("ore"))                    return "Ancient Debris";
153
-			if (aPrefix.mNameInternal.startsWith("crushed"))                return aPrefix.mMaterialPre + "Ancient Debris";
152
+			if (aPrefix.mNameInternal.startsWith("ore"))                    return aMaterial.mNameLocal;
153
+			if (aPrefix == OP.crushed)                                      return "Recycled " + aMaterial.mNameLocal;
154
+			if (aPrefix == OP.crushedTiny)                                  return "Tiny Recycled " + aMaterial.mNameLocal;
155
+			if (aPrefix.mNameInternal.startsWith("crushed"))                return aPrefix.mMaterialPre + aMaterial.mNameLocal;
154 156
 			if (aPrefix.mNameInternal.startsWith("dust"))                   return aPrefix.mMaterialPre + "Netherite Scrap";
155 157
 		} else
156 158
 		if (aMaterial == MT.SoulSand) {
157
-			if (aPrefix.mNameInternal.startsWith("dust"))                   return aPrefix.mMaterialPre + "Fine Soulsand";
159
+			if (aPrefix.mNameInternal.startsWith("ore"))                    return aMaterial.mNameLocal;
160
+			if (aPrefix == OP.crushed)                                      return "Ground " + aMaterial.mNameLocal;
161
+			if (aPrefix == OP.crushedTiny)                                  return "Tiny Ground " + aMaterial.mNameLocal;
162
+			if (aPrefix.mNameInternal.startsWith("crushed"))                return aPrefix.mMaterialPre + aMaterial.mNameLocal;
163
+			if (aPrefix.mNameInternal.startsWith("dust"))                   return aPrefix.mMaterialPre + "Fine " + aMaterial.mNameLocal;
158 164
 		} else
159 165
 		if (aMaterial == MT.Netherrack) {
160 166
 			if (aPrefix == OP.rockGt)                                       return "Nether Rock";

Loading…
Cancel
Save