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

@@ -23,7 +23,7 @@ public class BackpackHelper implements IBackpackInterface {
@Override
public Item addBackpack(IBackpackDefinition definition, EnumBackpackType type) {
BackpackManager.definitions.put(definition.getKey(), definition);
return new ItemBackpack(definition, type.ordinal() + 1);
return new ItemBackpack(definition, type);
}
}