Skip to content

Commit

Permalink
parse the raw slot, not the input
Browse files Browse the repository at this point in the history
  • Loading branch information
HSGamer committed Jul 3, 2024
1 parent 55ffb55 commit 2ae5085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/hsgamer/bettergui/util/SlotUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static Stream<Integer> generateSlots(String input) {
return Stream.empty();
}
} else {
return Validate.getNumber(input)
return Validate.getNumber(rawSlot)
.map(BigDecimal::intValue)
.map(Stream::of)
.orElseGet(Stream::empty);
Expand Down

0 comments on commit 2ae5085

Please sign in to comment.