From ItemStack[] is [] not {}
This commit is contained in:
parent
fc78734fd5
commit
10039f39c3
@ -67,7 +67,7 @@ public class ParamInfoItemStackArray extends ParamInfoItemStack {
|
||||
|
||||
@Override
|
||||
public Object fromString(String string) {
|
||||
if (string.startsWith("{") && string.endsWith("}")) {
|
||||
if (string.startsWith("[") && string.endsWith("]")) {
|
||||
try {
|
||||
return DisguiseUtilities.getGson().fromJson(string, ItemStack[].class);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user