9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2025-12-28 19:39:22 +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;
}
if (!reforge.getTargets().stream()
.map(ReforgeTarget::getSlot)
.collect(Collectors.toList())
.contains(slot)) {
continue;
if (slot != ReforgeTarget.Slot.ANY) {
if (!reforge.getTargets().stream()
.map(ReforgeTarget::getSlot)
.collect(Collectors.toList())
.contains(slot)) {
continue;
}
}
found.add(reforge);