diff --git a/README.md b/README.md index 5b4e0fcbc..ec613ee56 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ ## Donate - Bitcoin Cash (BCH): `qq3r46hn6ljnhnqnfwxt5pg3g447eq9jhvw5ddfear` - Bitcoin (BTC): `171u8K9e4FtU6j3e5sqNoxKUgEw9qWQdRV` +- Stellar Lumens (XLM): `GAAC5WZ33HCTE3BFJFZJXONMEIBNHFLBXM2HJVAZHXXPYA3HP5XPPS7T` - [Patreon](https://www.patreon.com/pocketminemp) ## Licensing information diff --git a/build/make-release.php b/build/make-release.php index f23a036e1..c8a475e57 100644 --- a/build/make-release.php +++ b/build/make-release.php @@ -76,6 +76,6 @@ system('git tag ' . $currentVer->getBaseVersion()); replaceVersion($versionInfoPath, $nextVer->getBaseVersion(), true); system('git add "' . $versionInfoPath . '"'); system('git commit -m "' . $nextVer->getBaseVersion() . ' is next" --include "' . $versionInfoPath . '"'); -echo "pushing changes in 10 seconds\n"; -sleep(10); +echo "pushing changes in 5 seconds\n"; +sleep(5); system('git push origin HEAD ' . $currentVer->getBaseVersion()); diff --git a/src/network/mcpe/protocol/DataPacket.php b/src/network/mcpe/protocol/DataPacket.php index fdf847688..b5cca01bd 100644 --- a/src/network/mcpe/protocol/DataPacket.php +++ b/src/network/mcpe/protocol/DataPacket.php @@ -106,7 +106,7 @@ abstract class DataPacket extends NetworkBinaryStream implements Packet{ public function __debugInfo(){ $data = []; - foreach($this as $k => $v){ + foreach((array) $this as $k => $v){ if($k === "buffer" and is_string($v)){ $data[$k] = bin2hex($v); }elseif(is_string($v) or (is_object($v) and method_exists($v, "__toString"))){