mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-22 16:05:01 +00:00
Fix unneeded getBendingPlayer call (#1095)
# Changes - Changes `BendingPlayer.getBendingPlayer(Player player)` to redirect to `BendingPlayer.getBendingPlayer(OfflinePlayer player)` instead of `BendingPlayer.getBendingPlayer(String playerName)`
This commit is contained in:
parent
4b5a7f35f2
commit
57869047a4
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ public class BendingPlayer {
|
|||
return null;
|
||||
}
|
||||
|
||||
return getBendingPlayer(player.getName());
|
||||
return getBendingPlayer((OfflinePlayer)player);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue