Also register case sensitive

This commit is contained in:
Jesse Boyd 2018-08-17 03:30:55 +10:00
parent 60699f915d
commit 29a364865d
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -130,6 +130,8 @@ public class WorldEditPlugin extends JavaPlugin implements TabCompleter {
if (lookupNames != null) {
lookupNames.putIfAbsent("FastAsyncWorldEdit".toLowerCase(Locale.ENGLISH), this);
lookupNames.putIfAbsent("WorldEdit".toLowerCase(Locale.ENGLISH), this);
lookupNames.putIfAbsent("FastAsyncWorldEdit", this);
lookupNames.putIfAbsent("WorldEdit", this);
rename();
}
setEnabled(true);