diff --git a/src/com/massivecraft/massivecore/cmd/CmdMassiveCoreUsysWorld.java b/src/com/massivecraft/massivecore/cmd/CmdMassiveCoreUsysWorld.java index 2b743592..15f33576 100755 --- a/src/com/massivecraft/massivecore/cmd/CmdMassiveCoreUsysWorld.java +++ b/src/com/massivecraft/massivecore/cmd/CmdMassiveCoreUsysWorld.java @@ -15,7 +15,7 @@ public class CmdMassiveCoreUsysWorld extends MassiveCoreCommand { // Parameters this.addParameter(TypeString.get(), "world").setDesc("the world to move"); - this.addParameter(TypeString.get(), "universe").setDesc("the universe to move the world ro"); + this.addParameter(TypeString.get(), "universe").setDesc("the universe to move the world to"); this.addParameter(TypeMultiverse.get(), "multiverse").setDesc("the multiverse of the universe to move the world to"); } diff --git a/src/com/massivecraft/massivecore/command/Parameter.java b/src/com/massivecraft/massivecore/command/Parameter.java index 9f5b16ab..9d3ad43b 100644 --- a/src/com/massivecraft/massivecore/command/Parameter.java +++ b/src/com/massivecraft/massivecore/command/Parameter.java @@ -3,6 +3,7 @@ package com.massivecraft.massivecore.command; import com.massivecraft.massivecore.command.type.Type; import com.massivecraft.massivecore.command.type.primitive.TypeInteger; import com.massivecraft.massivecore.mson.Mson; +import com.massivecraft.massivecore.util.Txt; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; @@ -183,7 +184,7 @@ public class Parameter ret = mson("[" + this.getName() + def + "]"); } - if (this.hasDesc()) ret = ret.tooltip(this.getDesc()); + if (this.hasDesc()) ret = ret.tooltip(Txt.upperCaseFirst(this.getDesc())); return ret; } @@ -195,7 +196,7 @@ public class Parameter public static Parameter getPage() { // We can't use a singleton because people might want to set a description. - return new Parameter<>(1, TypeInteger.get(), "page", "1"); + return new Parameter<>(1, TypeInteger.get(), "page", "1").setDesc("page"); } }