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

This commit is contained in:
rmichela 2012-03-05 23:35:29 -05:00 committed by EvilSeph
parent 1bf2a25506
commit 76cc010776

View File

@ -46,7 +46,7 @@ public class HelpCommand extends VanillaCommand {
pageWidth = ChatPaginator.UNBOUNDED_PAGE_WIDTH; pageWidth = ChatPaginator.UNBOUNDED_PAGE_WIDTH;
} else { } else {
pageHeight = ChatPaginator.CLOSED_CHAT_PAGE_HEIGHT - 1; 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(); HelpMap helpMap = Bukkit.getServer().getHelpMap();