mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-12-26 19:08:11 +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){
|
else if(args[i].toLowerCase().startsWith("desti:") && args[i].length() > 6){
|
||||||
hasDestination = true;
|
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){
|
else if(args[i].toLowerCase().startsWith("triggerblock:") && args[i].length() > 13){
|
||||||
hasTriggerBlock = true;
|
hasTriggerBlock = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user