From fac6d27d81b60ed9475387df6d8a5cbd4d002e00 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Mon, 30 Jun 2014 13:11:41 +0200 Subject: [PATCH] Fixed VarInt too big on join --- plugin.yml | 2 +- src/shoghicp/BigBrother/DesktopPlayer.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.yml b/plugin.yml index 56b1039a..dae6fafd 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,5 +1,5 @@ name: BigBrother -version: 1.1.1-beta +version: 1.1.2-beta api: 1.0.0 description: "Allows the connection of Minecraft: PC clients to PocketMine-MP servers" author: shoghicp diff --git a/src/shoghicp/BigBrother/DesktopPlayer.php b/src/shoghicp/BigBrother/DesktopPlayer.php index 9dddadc8..def86e1d 100644 --- a/src/shoghicp/BigBrother/DesktopPlayer.php +++ b/src/shoghicp/BigBrother/DesktopPlayer.php @@ -72,7 +72,7 @@ public function __construct(SourceInterface $interface, $clientID, $address, $po public function bigBrother_updateTitleBar(){ if($this->bigBrother_titleBarID === null){ - $this->bigBrother_titleBarID = PHP_INT_MAX; + $this->bigBrother_titleBarID = 2147483647; $pk = new SpawnMobPacket(); $pk->eid = $this->bigBrother_titleBarID;