Skip to content

Commit 2ae5085

Browse files
committed
parse the raw slot, not the input
1 parent 55ffb55 commit 2ae5085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/hsgamer/bettergui/util/SlotUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static Stream<Integer> generateSlots(String input) {
6868
return Stream.empty();
6969
}
7070
} else {
71-
return Validate.getNumber(input)
71+
return Validate.getNumber(rawSlot)
7272
.map(BigDecimal::intValue)
7373
.map(Stream::of)
7474
.orElseGet(Stream::empty);

0 commit comments

Comments
 (0)