using desti: was glitched

This commit is contained in:
Alastair Hawkes 2014-10-23 13:08:13 +01:00
parent e61a6f05c3
commit 156c9c7d06

View File

@ -95,7 +95,7 @@ public class AdvancedPortalsCommand implements CommandExecutor, TabCompleter {
}
else if(args[i].toLowerCase().startsWith("desti:") && args[i].length() > 6){
hasDestination = true;
destination = args[i].toLowerCase().replaceFirst("destination:", "");
destination = args[i].toLowerCase().replaceFirst("desti:", "");
}
else if(args[i].toLowerCase().startsWith("triggerblock:") && args[i].length() > 13){
hasTriggerBlock = true;