mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Simplify some of the backpack code and "fix" the localization code so that it isn't prefixing "Woven" in a non-localization friendly way. This is only hack fix though, all the bags will lose the "Woven" prefix entirely until Forestry is converted to the vanilla localization api.
This commit is contained in:
1 parent
54146d29b9
commit
af081c614f
5 files changed
+27
-20
No files matched your search
@@ -48,6 +48,11 @@ public class BackpackDefinition implements IBackpackDefinition {
|
||||
return StringUtil.localize("storage.backpack." + name);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName(ItemStack backpack) {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getPrimaryColour() {
|
||||
return primaryColor;
|
||||
|
||||
Reference in new issue
Block a user