fix items in level emitters with crafting cards not showing up

This commit is contained in:
Salomão
2021-08-14 09:43:48 -03:00
4 changed files with 37 additions and 6 deletions
+4 -2
View File
@@ -214,11 +214,13 @@ public class NetworkMonitor<T extends IAEStack<T>> implements IMEMonitor<T>
for( final T changedItem : input )
{
if (changedItem.isCraftable()) {
this.cachedList.add( changedItem.copy().setCraftable( true ) );
this.cachedList.add( changedItem );
}
else
{
this.cachedList.findPrecise( changedItem ).setCraftable( false );
T i = this.cachedList.findPrecise( changedItem );
if (i != null)
i.setCraftable( false );
}
}
}