Fix tab complete on option values

This commit is contained in:
libraryaddict 2022-02-27 01:00:26 +13:00
parent 06f0a41f07
commit 6f97aa219d
3 changed files with 2 additions and 7 deletions

View File

@ -233,6 +233,8 @@ public abstract class DisguiseBaseCommand implements CommandExecutor {
tabs.add(value); tabs.add(value);
} }
} else {
tabs.addAll(wantToUse);
} }
} }
} }

View File

@ -72,10 +72,6 @@ public class ParamInfoTypes {
return new ParamInfoItemBlock(ItemStack.class, "ItemStack", "ItemStack (Material)", "An ItemStack compromised of Material", getMaterials()); return new ParamInfoItemBlock(ItemStack.class, "ItemStack", "ItemStack (Material)", "An ItemStack compromised of Material", getMaterials());
} }
public ParamInfoSoundGroup getParamInfoSoundGroup() {
return new ParamInfoSoundGroup();
}
/** /**
* Constructor values are listed here for continuity * Constructor values are listed here for continuity
*/ */

View File

@ -2,9 +2,6 @@ package me.libraryaddict.disguise.utilities.parser;
import me.libraryaddict.disguise.DisguiseConfig; import me.libraryaddict.disguise.DisguiseConfig;
import me.libraryaddict.disguise.disguisetypes.DisguiseType; import me.libraryaddict.disguise.disguisetypes.DisguiseType;
import me.libraryaddict.disguise.utilities.params.ParamInfoManager;
import me.libraryaddict.disguise.utilities.translations.LibsMsg;
import org.bukkit.Material;
import org.bukkit.permissions.Permissible; import org.bukkit.permissions.Permissible;
import org.bukkit.permissions.Permission; import org.bukkit.permissions.Permission;
import org.bukkit.permissions.PermissionAttachment; import org.bukkit.permissions.PermissionAttachment;