mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-12-25 18:37:43 +01:00
using desti: was glitched
This commit is contained in:
parent
e61a6f05c3
commit
156c9c7d06
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user