LordDeatHunter / FabricaeExNihilo

Fabricate from nothing
MIT License
11 stars 9 forks source link

Fix REI compatability #60

Closed zelythia closed 7 months ago

zelythia commented 7 months ago

This should fix the REI compatability. The issue was caused by SieveDisplay throwing an error when being contructed with multiple probabilities for the same item:

Stream.collect(...) is throwing an IllegalStateException: Duplicate key [TypedEntryStack]. As far as I can tell this is being caused because EntryIngredient is handled as aList<EntryStack<?>> while being in the stream. Because the lists always contain only a single item they are seen equal and the exception is thrown. When outside the stream (like in the foreach-loop) the EntryIngredient's are correctly handled and no exception is thrown.

MattiDragon commented 7 months ago

Fixed in v1.0.0