I can't string, and unboxing is weird

This commit is contained in:
Electroblob77
2020-02-21 17:55:45 +00:00
parent df8fd21c0b
commit 5d96f4d700
4 changed files with 5 additions and 5 deletions
@@ -1104,7 +1104,7 @@ public final class Settings {
try {
meta = Short.parseShort(itemArgs[itemArgs.length-1]);
item = String.join("", Arrays.copyOfRange(itemArgs, 0, itemArgs.length-2));
item = String.join(":", Arrays.copyOfRange(itemArgs, 0, itemArgs.length-1));
}catch(NumberFormatException e){ // If no metadata is specified
meta = 0;
item = string;