/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HomeCommand.java |
Parent Directory | Revision Log | Patch
revision 2433 by torben, Mon Oct 15 13:41:10 2012 UTC | revision 2434 by torben, Mon Mar 9 14:16:47 2015 UTC | |
---|---|---|
# | Line 60 public class HomeCommand implements Comm | Line 60 public class HomeCommand implements Comm |
60 | return true; | return true; |
61 | } | } |
62 | if ( p.isOp() ) { | if ( p.isOp() ) { |
63 | @SuppressWarnings("deprecation") | |
64 | OfflinePlayer op = sender.getServer().getOfflinePlayer(args[0]); | OfflinePlayer op = sender.getServer().getOfflinePlayer(args[0]); |
65 | if (op.hasPlayedBefore() == false && op.isOnline() == false) { | if (op.hasPlayedBefore() == false && op.isOnline() == false) { |
66 | sender.sendMessage("Player not found"); | sender.sendMessage("Player not found"); |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |