mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-22 16:05:01 +00:00
Fixed issue with /b choose caused by my passives rework (#693)
This commit is contained in:
parent
0999b39a39
commit
134def0f1d
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ public class ChooseCommand extends PKCommand {
|
|||
GeneralMethods.saveSubElements(bPlayer);
|
||||
Bukkit.getServer().getPluginManager().callEvent(new PlayerChangeSubElementEvent(sender, target, sub, com.projectkorra.projectkorra.event.PlayerChangeSubElementEvent.Result.CHOOSE));
|
||||
} else {
|
||||
bPlayer.addElement(element);
|
||||
bPlayer.setElement(element);
|
||||
bPlayer.getSubElements().clear();
|
||||
for (SubElement sub : Element.getAllSubElements()) {
|
||||
if (bPlayer.hasElement(sub.getParentElement()) && bPlayer.hasSubElementPermission(sub)) {
|
||||
|
|
Loading…
Reference in a new issue