From b8b097ce68441c1d53c7c10687c9b71561084045 Mon Sep 17 00:00:00 2001 From: sk89q Date: Fri, 27 Jun 2014 20:10:48 -0700 Subject: [PATCH] Fixed 'break' being 'return' in LegacyCommandsHandler. --- .../util/command/parametric/LegacyCommandsHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/util/command/parametric/LegacyCommandsHandler.java b/src/main/java/com/sk89q/worldedit/util/command/parametric/LegacyCommandsHandler.java index 4602be0ab..fbc1794c2 100644 --- a/src/main/java/com/sk89q/worldedit/util/command/parametric/LegacyCommandsHandler.java +++ b/src/main/java/com/sk89q/worldedit/util/command/parametric/LegacyCommandsHandler.java @@ -84,7 +84,7 @@ public class LegacyCommandsHandler extends AbstractInvokeListener implements Inv for (ParameterData parameter : parameters) { if (parameter.getBinding().getBehavior(parameter) != BindingBehavior.PROVIDES) { hasUserParameters = true; - return; + break; } }