[Bleeding] Help command should properly wrap command text - at least for english. Fixes BUKKIT-939

By: rmichela <deltahat@gmail.com>
This commit is contained in:
Bukkit/Spigot 2012-03-05 23:35:29 -05:00
parent 9f6f624e1d
commit c90c0c1716

View file

@ -46,7 +46,7 @@ public class HelpCommand extends VanillaCommand {
pageWidth = ChatPaginator.UNBOUNDED_PAGE_WIDTH;
} else {
pageHeight = ChatPaginator.CLOSED_CHAT_PAGE_HEIGHT - 1;
pageWidth = ChatPaginator.AVERAGE_CHAT_PAGE_WIDTH;
pageWidth = ChatPaginator.GUARANTEED_NO_WRAP_CHAT_PAGE_WIDTH;
}
HelpMap helpMap = Bukkit.getServer().getHelpMap();