mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 12:49:32 +00:00
commit
7cd16b26f9
|
@ -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