diff --git a/Advanced Portals/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java b/Advanced Portals/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java index 1168c590..9f391b35 100644 --- a/Advanced Portals/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java +++ b/Advanced Portals/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java @@ -93,6 +93,10 @@ public class AdvancedPortalsCommand implements CommandExecutor, TabCompleter { hasDestination = true; destination = args[i].toLowerCase().replaceFirst("destination:", ""); } + else if(args[i].toLowerCase().startsWith("desti:") && args[i].length() > 6){ + hasDestination = true; + destination = args[i].toLowerCase().replaceFirst("destination:", ""); + } else if(args[i].toLowerCase().startsWith("triggerblock:") && args[i].length() > 13){ hasTriggerBlock = true; triggerBlock = args[i].toLowerCase().replaceFirst("triggerblock:", ""); diff --git a/Advanced Portals/src/com/sekwah/advancedportals/portalcontrolls/Portal.java b/Advanced Portals/src/com/sekwah/advancedportals/portalcontrolls/Portal.java index 4dc450e3..e924bd75 100644 --- a/Advanced Portals/src/com/sekwah/advancedportals/portalcontrolls/Portal.java +++ b/Advanced Portals/src/com/sekwah/advancedportals/portalcontrolls/Portal.java @@ -31,7 +31,7 @@ public class Portal { ShowBungeeMessage = config.getConfig().getBoolean("ShowBungeeWarpMessage"); Portal.plugin = plugin; - Portal.loadPortals(); + Portal.loadPortals(); } /**