1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-28 08:12:18 +00:00

Fix some items not being dyable

This commit is contained in:
Jonathan Coates 2021-12-19 14:15:32 +00:00
parent cfc9e2ad0d
commit 6dec1711b4
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -73,10 +73,11 @@ public final class ColourableRecipe extends CustomRecipe
for( int i = 0; i < inv.getContainerSize(); i++ )
{
ItemStack stack = inv.getItem( i );
if( stack.isEmpty() ) continue;
if( stack.isEmpty() )
if( stack.getItem() instanceof IColouredItem )
{
continue;
colourable = stack;
}
else
{