Commits

bendem authored and turt2live committed 31cb1e6df5b
Only loop through op players when tab completing /deop Fixes BUKKIT-5748

When tab completing /deop, a potentially large set of players is used for finding suitable player names. This potentially large set of players can cause performance concerns on servers. To fix this, only the set of operators should be considered for the /deop tab completion where the player set is much more relevant and follows suit with other commands which employ "more specific" player sets when possible. This commit adds this more efficient behaviour.
No tags

src/main/java/org/bukkit/command/defaults/DeopCommand.java

Modified

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut