Attempt Number two are making config generation consistent.

This commit is contained in:
AlgorithmX2 2014-04-28 15:00:53 -05:00
parent f6a132e19e
commit 8a9136cbb3
2 changed files with 4 additions and 4 deletions

View file

@ -270,8 +270,8 @@ public class AEConfig extends Configuration implements IConfigureableObject, ICo
if ( alreadyUsed ) if ( alreadyUsed )
{ {
if ( min < 1000 ) if ( min < 16383 )
min = 1000; min = 16383;
return min; return min;
} }

View file

@ -80,7 +80,7 @@ public class ItemPart extends AEBaseItem implements IPartItem, IItemGroup
if ( enabled ) if ( enabled )
{ {
int newPartNum = AEConfig.instance.get( "parts", name, AEConfig.instance.getFreePart( varID ) ).getInt(); int newPartNum = AEConfig.instance.get( "parts", name, AEConfig.instance.getFreePart( mat.ordinal() * 32 + varID ) ).getInt();
ItemStackSrc output = new ItemStackSrc( this, newPartNum ); ItemStackSrc output = new ItemStackSrc( this, newPartNum );
PartTypeIst pti = new PartTypeIst(); PartTypeIst pti = new PartTypeIst();