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:
StrangeOne101 2020-09-26 07:16:38 +12:00 committed by GitHub
parent 4b5a7f35f2
commit 57869047a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -511,7 +511,7 @@ public class BendingPlayer {
return null; return null;
} }
return getBendingPlayer(player.getName()); return getBendingPlayer((OfflinePlayer)player);
} }
/** /**