mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-10 22:05:10 +01:00
[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:
parent
9f6f624e1d
commit
c90c0c1716
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user