From 4c2faf175b1b3dc4797b46ecd0c0a69f8139ec05 Mon Sep 17 00:00:00 2001 From: sk89q Date: Wed, 26 Jan 2011 12:34:40 -0800 Subject: [PATCH] Changed /s to /.s to avoid conflicts. --- plugin.yml | 2 +- src/com/sk89q/worldedit/WorldEdit.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin.yml b/plugin.yml index 052f29cf0..902574540 100644 --- a/plugin.yml +++ b/plugin.yml @@ -250,7 +250,7 @@ commands: cs: description: Execute a CraftScript usage: / [arg1 [args2 [arg3 [...]]]] - s: + .s: description: Re-execute last CraftScript usage: / [arg1 [args2 [arg3 [...]]]] diff --git a/src/com/sk89q/worldedit/WorldEdit.java b/src/com/sk89q/worldedit/WorldEdit.java index 18f9ea1fc..725e5b177 100644 --- a/src/com/sk89q/worldedit/WorldEdit.java +++ b/src/com/sk89q/worldedit/WorldEdit.java @@ -179,7 +179,7 @@ public class WorldEdit { commands.put("/rbrush", "[ID] - Switch to the replacing sphere brush tool"); commands.put("/cs", "[Filename] - Execute a CraftScript"); - commands.put("/s", " - Re-execute last CraftScript"); + commands.put("/.s", " - Re-execute last CraftScript"); } /** @@ -1746,7 +1746,7 @@ public class WorldEdit { return true; // CraftScript - } else if (split[0].equalsIgnoreCase("/s")) { + } else if (split[0].equalsIgnoreCase("/.s")) { checkArgs(split, 1, -1, split[0]); String lastScript = session.getLastScript();