diff --git a/src/pocketmine/GlobalConstants.php b/src/pocketmine/GlobalConstants.php index a9550cc43..d3b4a9f9a 100644 --- a/src/pocketmine/GlobalConstants.php +++ b/src/pocketmine/GlobalConstants.php @@ -27,4 +27,4 @@ define('pocketmine\_GLOBAL_CONSTANTS_INCLUDED', true); const INT32_MIN = -0x80000000; const INT32_MAX = 0x7fffffff; -define("INT32_MASK", is_int(0xffffffff) ? 0xffffffff : -1); +const INT32_MASK = 0xffffffff;