0.1h - Include nulls in TabList.
This commit is contained in:
parent
930ebd71b4
commit
94bc49b7d3
@ -71,4 +71,17 @@ public class TypeNullable<T> extends TypeWrapper<T>
|
|||||||
return super.read(arg, sender);
|
return super.read(arg, sender);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Collection<String> getTabList(CommandSender sender, String arg)
|
||||||
|
{
|
||||||
|
// Super
|
||||||
|
Collection<String> ret = super.getTabList(sender, arg);
|
||||||
|
|
||||||
|
// Add nulls
|
||||||
|
ret.addAll(this.getNulls());
|
||||||
|
|
||||||
|
// Return
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user