We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e90a277 commit 53924c0Copy full SHA for 53924c0
src/main/java/net/azalealibrary/configuration/property/PropertyType.java
@@ -2,6 +2,7 @@
2
3
import net.azalealibrary.command.Arguments;
4
import net.azalealibrary.command.AzaleaException;
5
+import org.apache.commons.lang.StringUtils;
6
import org.bukkit.Bukkit;
7
import org.bukkit.Location;
8
import org.bukkit.World;
@@ -165,7 +166,7 @@ public final Class<?> getType() {
165
166
}
167
168
public final String getExpected() {
- return expected;
169
+ return StringUtils.capitalize(expected.toLowerCase());
170
171
172
public List<String> complete(CommandSender sender, Arguments arguments, @Nullable T currentValue) {
0 commit comments