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:
CovertJaguar committed 2014-08-12 05:13:09 -07:00
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;