Crafting Calculator mostly works now - is missing features however.
This commit is contained in:
@@ -26,6 +26,12 @@ public final class AEItemStack extends AEStack<IAEItemStack> implements IAEItemS
|
||||
|
||||
AEItemDef def;
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getItemStack().toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void add(IAEItemStack option)
|
||||
{
|
||||
@@ -53,10 +59,10 @@ public final class AEItemStack extends AEStack<IAEItemStack> implements IAEItemS
|
||||
|
||||
def = new AEItemDef();
|
||||
def.item = is.getItem();
|
||||
|
||||
|
||||
if ( def.item == null )
|
||||
throw new RuntimeException( "This ItemStack is bad, it has a null item." );
|
||||
|
||||
|
||||
/*
|
||||
* Prevent an Item from changing the damage value on me... Either, this or a core mod.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user