Fix issue with auto completer not respecting setting correctly

This commit is contained in:
William committed 2021-11-23 12:39:04 +00:00
1 parent c13ff1dfee
commit 3c8940c459
1 file changed
+1 -1
@@ -10,7 +10,7 @@ public class NameAutoCompleter {
* Auto complete a player's name
*/
public static String getAutoCompletedName(String inputName) {
if (HuskHomes.getSettings().doAutoCompletePlayerNames()) {
if (!HuskHomes.getSettings().doAutoCompletePlayerNames()) {
return inputName;
}
String found = inputName;