Skip to content

Commit

Permalink
[1.10.10]修复remove命令导致补全报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
YufiriaMazenta committed Sep 18, 2024
1 parent 7be769c commit 3d18309
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import org.bukkit.command.CommandSender;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;

Expand Down Expand Up @@ -46,7 +47,7 @@ public List<String> tab(CommandSender sender, List<String> args) {
}
return tabList;
}
return super.onTabComplete(sender, args);
return Collections.emptyList();
}


Expand Down

0 comments on commit 3d18309

Please sign in to comment.