Disguise option parameter ItemStack[] cannot be a null parameter
This commit is contained in:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user