/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/SpawnCommand.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/SpawnCommand.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1586 by torben, Mon Jun 20 16:33:38 2011 UTC revision 1587 by torben, Mon Aug 8 15:44:27 2011 UTC
# Line 19  public class SpawnCommand implements Com Line 19  public class SpawnCommand implements Com
19                  }                  }
20                  Player p = (Player) sender;                  Player p = (Player) sender;
21    
22                    if ( ! p.hasPermission("hoeruputils.spawn") ) {
23                            p.sendMessage("You don't have permissions to use /spawn");
24                            return true;
25                    }
26    
27                  if (args.length < 1 || args.length > 2) {                  if (args.length < 1 || args.length > 2) {
28                          p.sendMessage("Usage: /spawn <creature> [count] ");                          p.sendMessage("Usage: /spawn <creature> [count] ");
29                          return true;                          return true;

Legend:
Removed from v.1586  
changed lines
  Added in v.1587

  ViewVC Help
Powered by ViewVC 1.1.20