mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-12-01 06:53:26 +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);
|
setConsoleCommand(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("deprecation")
|
|
||||||
@Override
|
@Override
|
||||||
public void onExecute(String[] args, CommandSender sender) {
|
public void onExecute(String[] args, CommandSender sender) {
|
||||||
Player player = null;
|
Player player = null;
|
||||||
|
@ -63,7 +63,6 @@ public class DSavePlayer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void reset(boolean keepInventory) {
|
public void reset(boolean keepInventory) {
|
||||||
@SuppressWarnings("deprecation")
|
|
||||||
Player player = plugin.getServer().getPlayer(playerName);
|
Player player = plugin.getServer().getPlayer(playerName);
|
||||||
boolean offline = false;
|
boolean offline = false;
|
||||||
if (player == null) {
|
if (player == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user