Added /lobby
This commit is contained in:
parent
dc5584d51b
commit
cb43bc04d3
@ -129,7 +129,7 @@ public class MiscManager implements Listener
|
||||
@EventHandler
|
||||
public void HubCommand(PlayerCommandPreprocessEvent event)
|
||||
{
|
||||
if (event.getMessage().startsWith("/hub") || event.getMessage().startsWith("/leave"))
|
||||
if (event.getMessage().startsWith("/lobby") || event.getMessage().startsWith("/hub") || event.getMessage().startsWith("/leave"))
|
||||
{
|
||||
Manager.GetPortal().SendPlayerToServer(event.getPlayer(), "Lobby");
|
||||
event.setCancelled(true);
|
||||
|
Loading…
Reference in New Issue
Block a user