mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
commit
7cd16b26f9
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ public class ChooseCommand extends PKCommand {
|
|||
}
|
||||
String element = args.get(0).toLowerCase();
|
||||
Element targetElement = Element.getElement(element);
|
||||
if (Arrays.asList(Element.getAllElements()).contains(target)) {
|
||||
if (Arrays.asList(Element.getAllElements()).contains(targetElement)) {
|
||||
add(sender, target, targetElement);
|
||||
return;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue