mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +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
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user