mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 12:49:32 +00:00
Fix Choose Command
This commit is contained in:
parent
15fe8ad2ae
commit
3509a03a59
|
@ -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