mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Remove @SuppressWarnings("deprecation") because the methods aren't deprecated anymore
This commit is contained in:
parent
4c7b97356a
commit
9ac6d4b670
@ -19,7 +19,6 @@ public class LivesCommand extends DCommand {
|
||||
setConsoleCommand(true);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
public void onExecute(String[] args, CommandSender sender) {
|
||||
Player player = null;
|
||||
|
@ -63,7 +63,6 @@ public class DSavePlayer {
|
||||
}
|
||||
|
||||
public void reset(boolean keepInventory) {
|
||||
@SuppressWarnings("deprecation")
|
||||
Player player = plugin.getServer().getPlayer(playerName);
|
||||
boolean offline = false;
|
||||
if (player == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user