mirror of
https://github.com/GTNewHorizons/ForbiddenMagic.git
synced 2026-11-13 00:37:40 +00:00
1 parent
dc69c98393
commit
0575d9b11d
1 file changed
+1
-1
@@ -102,7 +102,7 @@ public class ItemMobCrystal extends Item {
|
||||
String string = nbttagcompound.getString("mob");
|
||||
|
||||
if (string != null)
|
||||
return ("" + StatCollector.translateToLocal("entity." + string + ".name") + " " + String.format(StatCollector.translateToLocal("item.MobCrystal.name"))).trim();
|
||||
return ("" + StatCollector.translateToLocal("item.MobCrystal.name").replace("%s", StatCollector.translateToLocal("entity." + string + ".name"))).trim();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user