mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 04:39:32 +00:00
Add new CoreAbility API, Add BendingPlayer methods
This commit is contained in:
parent
e4fee98492
commit
ba3881d856
|
@ -20,6 +20,14 @@ public abstract class AirAbility extends CoreAbility {
|
|||
return "Air";
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
@Override
|
||||
public final ChatColor getElementColor() {
|
||||
return getAirColor();
|
||||
}
|
||||
|
||||
>>>>>>> Add new CoreAbility API, Add BendingPlayer methods
|
||||
/**
|
||||
* Gets the AirColor from the config.
|
||||
*
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package com.projectkorra.projectkorra.ability.api;
|
||||
|
||||
import com.projectkorra.projectkorra.SubElement;
|
||||
import com.projectkorra.projectkorra.configuration.ConfigManager;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
|
@ -98,7 +97,6 @@ public abstract class CoreAbility implements Ability {
|
|||
if (playerMap.size() == 0) {
|
||||
classMap.remove(playerMap);
|
||||
}
|
||||
|
||||
CoreAbility.instancesByClass.get(getClass()).remove(this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue