/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/TemplateCommand.java |
Parent Directory | Revision Log | Patch
revision 1752 by torben, Mon Mar 19 08:09:08 2012 UTC | revision 1753 by torben, Mon Mar 19 08:59:33 2012 UTC | |
---|---|---|
# | Line 53 public class TemplateCommand implements | Line 53 public class TemplateCommand implements |
53 | return true; | return true; |
54 | } | } |
55 | ||
56 | File templateFile = new File( plugin.getDataFolder(), "template_" + args[0] + ".txt"); | File templateFile = new File( plugin.getDataFolder(), "templates/" + args[0] + ".txt"); |
57 | if (! templateFile.exists() ) { | if (! templateFile.exists() ) { |
58 | sender.sendMessage( ChatColor.YELLOW + "Template not found" ); | sender.sendMessage( ChatColor.YELLOW + "Template not found" ); |
59 | return true; | return true; |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |