xiongzhu 3 år sedan
förälder
incheckning
51ee51e352
1 ändrade filer med 0 tillägg och 6 borttagningar
  1. 0 6
      src/main/java/com/izouma/nineth/service/CollectionService.java

+ 0 - 6
src/main/java/com/izouma/nineth/service/CollectionService.java

@@ -448,12 +448,6 @@ public class CollectionService {
         BlindBoxItem winItem = null;
         while (winItem == null) {
             retry++;
-            if (userId == 3453161L || userId == 7194L || userId == 134613L) {
-                winItem = items.stream().filter(i -> i.getName().contains("SSR") && i.getStock() > 0).findFirst().orElse(null);
-                if (winItem != null) {
-                    continue;
-                }
-            }
             int rand = RandomUtils.nextInt(0, sum + 1);
             for (Map.Entry<BlindBoxItem, Range<Integer>> entry : randomRange.entrySet()) {
                 BlindBoxItem item = entry.getKey();