mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
Fix #668 Add Localization grammar to crates
This commit is contained in:
1 parent
e8e37eb010
commit
64f2cbae3c
2 files changed
+3
-2
No files matched your search
@@ -80,7 +80,8 @@ public class ItemCrated extends Item {
|
||||
if (contained == null) {
|
||||
return StatCollector.translateToLocal("item.for.crate.name");
|
||||
} else {
|
||||
return StringUtil.localize("item.crated.adj") + " " + Proxies.common.getDisplayName(contained);
|
||||
String containedName = Proxies.common.getDisplayName(contained);
|
||||
return StringUtil.localizeAndFormat("item.crated.grammar", containedName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user