Use ordinal of parts/items as the default meta, allows for holes in the setup but lets default configs be consistent regardless of other mods.

This commit is contained in:
AlgorithmX2
2014-04-06 01:51:44 -05:00
parent 028555bc8a
commit 97c06db6ef
3 changed files with 31 additions and 11 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ public class ItemPart extends AEBaseItem implements IPartItem, IItemGroup
if ( enabled )
{
int newPartNum = AEConfig.instance.get( "parts", name, AEConfig.instance.getFreePart() ).getInt();
int newPartNum = AEConfig.instance.get( "parts", name, AEConfig.instance.getFreePart( varID ) ).getInt();
ItemStackSrc output = new ItemStackSrc( this, newPartNum );
PartTypeIst pti = new PartTypeIst();