mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-11 13:33:54 +00:00
Tab completion
This commit is contained in:
@ -107,6 +107,16 @@ public final class AdminWorld extends CustomWorld
|
||||
return player;
|
||||
}
|
||||
|
||||
public List<String> getGuestList()
|
||||
{
|
||||
List<String> guests = new ArrayList<>();
|
||||
for (Player guest : guestList.keySet())
|
||||
{
|
||||
guests.add(guest.getName());
|
||||
}
|
||||
return guests;
|
||||
}
|
||||
|
||||
public Player removeGuest(String partialName)
|
||||
{
|
||||
partialName = partialName.toLowerCase();
|
||||
|
Reference in New Issue
Block a user