Pocketmine-mp: AddTitle Dont Work

Created on 3 Jun 2017  路  5Comments  路  Source: pmmp/PocketMine-MP

  • PocketMine-MP: 1.6.2Dev Unleashed For 1.1
  • PHP: 7.0.3
  • Server OS: Mac Os X
  • Game version: PE

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

Core Fixed

Most helpful comment

Don't you just love it when undefined behaviour causes a crash instead of unexpected behaviour

All 5 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheDiamondYT1 picture TheDiamondYT1  路  3Comments

L3ice picture L3ice  路  3Comments

Hugheth picture Hugheth  路  3Comments

JoshuaACasey picture JoshuaACasey  路  3Comments

sergeysova picture sergeysova  路  3Comments