mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 06:28:52 +00:00
item command tab completions
This commit is contained in:
1 parent
f8e072adcd
commit
33251eee05
2 files changed
+23
-3
No files matched your search
@@ -10,6 +10,7 @@ import me.ShermansWorld.AlathraWar.data.RaidData;
|
||||
import me.ShermansWorld.AlathraWar.data.RaidPhase;
|
||||
import me.ShermansWorld.AlathraWar.data.SiegeData;
|
||||
import me.ShermansWorld.AlathraWar.data.WarData;
|
||||
import me.ShermansWorld.AlathraWar.items.WarItems;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
@@ -206,4 +207,8 @@ public class CommandHelper {
|
||||
Main.warLogger.log(Helper.chatLabel() + sender.getName() + " ran command: " + log.toString());
|
||||
return true;
|
||||
}
|
||||
|
||||
public static List<String> getWarItems() {
|
||||
return new ArrayList<>(WarItems.getItemRegistry().keySet());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user