Commit 3f4b13b9 authored by Frago9876543210's avatar Frago9876543210
Browse files

php7

parent 923789eb
......@@ -70,11 +70,7 @@ class HelpCommand extends VanillaCommand {
$pageNumber = 1;
}
if($sender instanceof ConsoleCommandSender){
$pageHeight = PHP_INT_MAX;
}else{
$pageHeight = 7;
}
$pageHeight = $sender instanceof ConsoleCommandSender ? PHP_INT_MAX : 7;
if($command === ""){
/** @var Command[][] $commands */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment