Skip to content

Commit

Permalink
Update PlayerBackpack.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchampions committed Oct 5, 2024
1 parent 959bf9d commit 1a1d04c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public static OptionalInt getBackpackID(ItemMeta meta) {
if (line.startsWith("§7ID: ") && line.contains("#")) {
try {
return OptionalInt.of(Integer.parseInt(
CommonPatterns.HASH.split(line.replace("§7ID: "), "")[1]));
CommonPatterns.HASH.split(line.replace("§7ID: ", ""))[1]));
} catch (NumberFormatException e) {
e.printStackTrace();
}
Expand Down

0 comments on commit 1a1d04c

Please sign in to comment.