mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 00:39:45 +00:00
Merge remote-tracking branch 'origin/stable' into drew-1.13
This commit is contained in:
commit
ba39327b28
@ -143,7 +143,7 @@ abstract class DataPacket extends NetworkBinaryStream{
|
||||
|
||||
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"))){
|
||||
|
Loading…
x
Reference in New Issue
Block a user