Change intent of /hub to PLAYER_REQUEST

This commit is contained in:
samczsun 2017-01-14 22:42:40 -05:00 committed by cnr
parent 8fdbe87d1d
commit 8479e80f8e
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ public class MiscManager implements Listener
{
if (event.getMessage().toLowerCase().equals("/lobby") || event.getMessage().toLowerCase().equals("/hub") || event.getMessage().toLowerCase().equals("/leave"))
{
Manager.GetPortal().sendPlayerToGenericServer(event.getPlayer(), GenericServer.HUB, Intent.KICK);
Manager.GetPortal().sendPlayerToGenericServer(event.getPlayer(), GenericServer.HUB, Intent.PLAYER_REQUEST);
event.setCancelled(true);
}
}