Disguise option parameter ItemStack[] cannot be a null parameter
This commit is contained in:
parent
d1c1182b02
commit
f8172ed807
@ -14,6 +14,11 @@ public class ParamInfoItemStackArray extends ParamInfoItemStack {
|
|||||||
super(paramClass, name, valueType, description, possibleValues);
|
super(paramClass, name, valueType, description, possibleValues);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canReturnNull() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Set<String> getEnums(String tabComplete) {
|
public Set<String> getEnums(String tabComplete) {
|
||||||
String beginning = tabComplete.substring(0, tabComplete.contains(",") ? tabComplete.lastIndexOf(",") + 1 : 0);
|
String beginning = tabComplete.substring(0, tabComplete.contains(",") ? tabComplete.lastIndexOf(",") + 1 : 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user