Fixed 32-bit accident

gud fuckup
This commit is contained in:
Dylan K. Taylor 2018-02-06 21:39:15 +00:00
parent 687886e70b
commit a84a8ecc14

View File

@ -103,6 +103,12 @@ namespace pocketmine {
exit(1);
}
if(PHP_INT_SIZE < 8){
critical_error("Running " . \pocketmine\NAME . " with 32-bit systems/PHP is no longer supported.");
critical_error("Please upgrade to a 64-bit system, or use a 64-bit PHP binary if this is a 64-bit system.");
exit(1);
}
/* Dependencies check */
$errors = 0;