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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user