Skip to content

Commit 53924c0

Browse files
committed
fixed inconsistent type name
1 parent e90a277 commit 53924c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/net/azalealibrary/configuration/property/PropertyType.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import net.azalealibrary.command.Arguments;
44
import net.azalealibrary.command.AzaleaException;
5+
import org.apache.commons.lang.StringUtils;
56
import org.bukkit.Bukkit;
67
import org.bukkit.Location;
78
import org.bukkit.World;
@@ -165,7 +166,7 @@ public final Class<?> getType() {
165166
}
166167

167168
public final String getExpected() {
168-
return expected;
169+
return StringUtils.capitalize(expected.toLowerCase());
169170
}
170171

171172
public List<String> complete(CommandSender sender, Arguments arguments, @Nullable T currentValue) {

0 commit comments

Comments
 (0)