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

@ -267,11 +267,11 @@ public class AEConfig extends Configuration implements IConfigureableObject, ICo
min = Math.max( min, thisInt + 1 );
}
if ( alreadyUsed )
{
if ( min < 1000 )
min = 1000;
if ( min < 16383 )
min = 16383;
return min;
}

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( varID ) ).getInt();
int newPartNum = AEConfig.instance.get( "parts", name, AEConfig.instance.getFreePart( mat.ordinal() * 32 + varID ) ).getInt();
ItemStackSrc output = new ItemStackSrc( this, newPartNum );
PartTypeIst pti = new PartTypeIst();