Fixed a heckload of warnings

This commit is contained in:
Sauilitired 2014-11-09 12:51:17 +01:00
parent 87a0cecb2f
commit 182f4cbd22
17 changed files with 153 additions and 163 deletions

View file

@ -36,6 +36,7 @@ import java.util.UUID;
/**
* @author Citymonstret
*/
@SuppressWarnings({"unused", "deprecated", "javadoc"})
public class Info extends SubCommand {
public Info() {
@ -55,7 +56,7 @@ public class Info extends SubCommand {
plot = PlayerFunctions.getCurrentPlot(player);
} else {
if (args.length < 2) {
PlayerFunctions.sendMessage(player, C.INFO_SYNTAX_CONSOLE);
PlayerFunctions.sendMessage(null, C.INFO_SYNTAX_CONSOLE);
return false;
}
final PlotWorld plotworld = PlotMain.getWorldSettings(args[0]);