diff --git a/src/main/java/org/skriptlang/skriptworldguard/elements/effects/EffCreateRegion.java b/src/main/java/org/skriptlang/skriptworldguard/elements/effects/EffCreateRegion.java index e5a5766..e02c8fd 100644 --- a/src/main/java/org/skriptlang/skriptworldguard/elements/effects/EffCreateRegion.java +++ b/src/main/java/org/skriptlang/skriptworldguard/elements/effects/EffCreateRegion.java @@ -50,7 +50,7 @@ public class EffCreateRegion extends Effect { static { Skript.registerEffect(EffCreateRegion.class, - "create [a] [:temporary] global [worldguard] region [named] %string% in %world%", + "create [a] [:temporary] global [worldguard] region [named] %string% [in %world%]", "create [a] [:temporary] [cuboid|rectangular] [worldguard] region [named] %string% [in %-world%] (between|from) %location% (to|and) %location%", "create [a] [:temporary] polygonal [worldguard] region [named] %string% [in %-world%] with [a] min[imum] height of %number% and [a] max[imum] height of %number% with [the] points %locations%" ); diff --git a/src/main/java/org/skriptlang/skriptworldguard/elements/expressions/ExprRegionNamed.java b/src/main/java/org/skriptlang/skriptworldguard/elements/expressions/ExprRegionNamed.java index 521b15a..6a62498 100644 --- a/src/main/java/org/skriptlang/skriptworldguard/elements/expressions/ExprRegionNamed.java +++ b/src/main/java/org/skriptlang/skriptworldguard/elements/expressions/ExprRegionNamed.java @@ -27,7 +27,9 @@ public class ExprRegionNamed extends SimpleExpression { static { Skript.registerExpression(ExprRegionNamed.class, WorldGuardRegion.class, ExpressionType.COMBINED, - "[the] [worldguard] region[s] [with [the] (name[s]|id[s])|named] %strings% (in|of) [[the] world] %world%" + "[the] [worldguard] region[s] [named] %strings% [(in|of) [[the] world] %world%]", + "[the] [worldguard] region[s] with [the] (name[s]|id[s]) %strings% [(in|of) [[the] world] %world%]" + ); }