Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MakStashkevich committed Jan 5, 2020
1 parent 75effdc commit 4c4d715
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion client/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ function __construct()

//add client
$client = new PocketEditionClient(
new Address('dragonw.ru', 19999),
new Address('pigcraft.ru', 19133),
// new Address('dragonw.ru', 19999),
// new Address('bmpe.pw', 19134),
new Bot(
'robotXXXsuper',
Expand Down
3 changes: 2 additions & 1 deletion client/PocketEditionClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,9 @@ protected function handleDataPacket(DataPacket $packet): void
case ContainerIds::ARMOR:
$player->getArmor()->setAll($slots);
break;
case ContainerIds::CREATIVE:
default:
mess('CONTENT_CONTAINER_ID', $packet->windowid);
mess('CONTENT_CONTAINER_ID', (string)$packet->windowid);
break;
}
}
Expand Down

0 comments on commit 4c4d715

Please sign in to comment.