0.1h - Include nulls in TabList.

This commit is contained in:
ulumulu1510 2016-03-20 19:11:17 +01:00 committed by Olof Larsson
parent 930ebd71b4
commit 94bc49b7d3

View File

@ -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;
}
} }