Im Using $player->addTItle("Test", "Test", -1, -1, -1);
But then i got this
[18:23:17] [Server thread/CRITICAL]: Unhandled exception executing command 'par claim 1' in par: Argument 1 passed to pocketmine\utils\Binary::writeVarInt() must be of the type integer, null given, called in /Users/chaostix/Desktop/PocketMine-MP/src/pocketmine/utils/BinaryStream.php on line 301
Try the latest master build
@TheDiamondYT1 Im Using The Latest Master Build :D
Don't you just love it when undefined behaviour causes a crash instead of unexpected behaviour
@dktapps So, It will be fixed? :D
On a semi-related note, there appears to be a client-sided issue on some Pocket Edition clients causing titles not to work. This also happens in vanilla, so please do not report that as an issue.
Most helpful comment
Don't you just love it when undefined behaviour causes a crash instead of unexpected behaviour