9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2026-01-04 15:41:40 +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,11 +103,13 @@ public class ReforgeLookup {
continue; continue;
} }
if (!reforge.getTargets().stream() if (slot != ReforgeTarget.Slot.ANY) {
.map(ReforgeTarget::getSlot) if (!reforge.getTargets().stream()
.collect(Collectors.toList()) .map(ReforgeTarget::getSlot)
.contains(slot)) { .collect(Collectors.toList())
continue; .contains(slot)) {
continue;
}
} }
found.add(reforge); found.add(reforge);