Fixes a ItemStack deletion issue in the grindstone (#2962)
Fixes the Grinder eating the item in case of an input ItemStack with size equal to one.
This commit is contained in:
parent
fd7e393d23
commit
f0baea3be8
|
@ -113,9 +113,9 @@ public class TileGrinder extends AEBaseInvTile implements ICrankable
|
|||
{
|
||||
if( item.getCount() >= r.getInput().getCount() )
|
||||
{
|
||||
item.grow( -r.getInput().getCount() );
|
||||
final ItemStack ais = item.copy();
|
||||
ais.setCount( r.getInput().getCount() );
|
||||
item.shrink( r.getInput().getCount() );
|
||||
|
||||
if( item.getCount() <= 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue