9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2026-01-06 15:51:32 +00:00

Fixed Slot.ANY bug

This commit is contained in:
Auxilor
2021-11-10 17:54:21 +00:00
parent 8fb79afe88
commit c9505899fb

View File

@@ -103,12 +103,14 @@ public class ReforgeLookup {
continue; continue;
} }
if (slot != ReforgeTarget.Slot.ANY) {
if (!reforge.getTargets().stream() if (!reforge.getTargets().stream()
.map(ReforgeTarget::getSlot) .map(ReforgeTarget::getSlot)
.collect(Collectors.toList()) .collect(Collectors.toList())
.contains(slot)) { .contains(slot)) {
continue; continue;
} }
}
found.add(reforge); found.add(reforge);
} }