Address a few deprecations

This commit is contained in:
NotMyFault
2021-05-01 18:33:02 +02:00
parent 11af33f2d5
commit 0106a4222d
64 changed files with 133 additions and 126 deletions

View File

@ -430,7 +430,7 @@ public class BukkitUtil extends WorldUtil {
@Override
@NonNegative
public double getHealth(final @NonNull PlotPlayer player) {
public double getHealth(final @NonNull PlotPlayer<?> player) {
return Objects.requireNonNull(Bukkit.getPlayer(player.getUUID())).getHealth();
}