1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-21 06:26:55 +00:00

Set stack size when crafting coloured items

Fixes #793
This commit is contained in:
Jonathan Coates 2021-05-20 18:12:30 +01:00
parent b21866fbff
commit 34baa09b6c

View File

@ -79,7 +79,10 @@ public final class ColourableRecipe extends SpecialRecipe
}
if( colourable.isEmpty() ) return ItemStack.EMPTY;
return ((IColouredItem) colourable.getItem()).withColour( colourable, tracker.getColour() );
ItemStack stack = ((IColouredItem) colourable.getItem()).withColour( colourable, tracker.getColour() );
stack.setCount( 1 );
return stack;
}
@Override