Add support for sending players back to any clans hub via portal

This commit is contained in:
AlexTheCoder 2016-07-25 10:56:30 -04:00
parent 275ab52f79
commit 25b0ae5916

View File

@ -91,7 +91,7 @@ public class Portal extends MiniPlugin
ServerTransferEvent event = new ServerTransferEvent(player, serverName, draggedByParty);
Bukkit.getPluginManager().callEvent(event);
final boolean override = serverName.equalsIgnoreCase("Lobby");
final boolean override = serverName.equalsIgnoreCase("Lobby") || serverName.equalsIgnoreCase("ClansHub");
final Rank playerRank = _clientManager.Get(player).GetRank();
if(event.isCancel() && !event.isDraggedByParty())