Skip to content

Commit

Permalink
Fixed VarInt too big on join
Browse files Browse the repository at this point in the history
  • Loading branch information
shoghicp committed Jun 30, 2014
1 parent be47bf0 commit fac6d27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/shoghicp/BigBrother/DesktopPlayer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fac6d27

Please sign in to comment.