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