Add final modifier to Player parameter

This commit is contained in:
Christopher Martin 2018-08-11 00:59:21 -07:00 committed by GitHub
parent 5bd2b8b217
commit 014fb0793d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -785,7 +785,7 @@ public abstract class CoreAbility implements Ability {
return ConfigManager.languageConfig.get().getString("Abilities." + elementName + "." + this.getName() + ".Description");
}
public String getMovePreview(Player player) {
public String getMovePreview(final Player player) {
BendingPlayer bPlayer = BendingPlayer.getBendingPlayer(player);
String displayedMessage = "";
if (bPlayer.isOnCooldown(this)) {