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

MisteFr picture MisteFr  路  29Comments

Sandertv picture Sandertv  路  37Comments

mal0ne-23 picture mal0ne-23  路  17Comments

KAGsundaram picture KAGsundaram  路  43Comments

dktapps picture dktapps  路  19Comments