mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
parent
a74ef765b8
commit
d091ab9765
1 changed files with 2 additions and 1 deletions
|
@ -610,6 +610,7 @@ public class Methods {
|
|||
|
||||
public static String getBoundAbility(Player player) {
|
||||
BendingPlayer bPlayer = getBendingPlayer(player.getName());
|
||||
if (bPlayer == null) return null;
|
||||
|
||||
int slot = player.getInventory().getHeldItemSlot() + 1;
|
||||
return bPlayer.abilities.get(slot);
|
||||
|
|
Loading…
Reference in a new issue