mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
BinaryStream no longer extends stdClass, fixed a couple of minor bugs
Seems :shoghi: used stdClass to silence IDEs, which before ALPHA5 would complain about myriad undefined fields due to lack of type checking (switch based on packet id 🤦)
This commit is contained in:
@ -25,7 +25,7 @@ namespace pocketmine\utils;
|
||||
|
||||
use pocketmine\item\Item;
|
||||
|
||||
class BinaryStream extends \stdClass{
|
||||
class BinaryStream{
|
||||
|
||||
public $offset;
|
||||
public $buffer;
|
||||
|
Reference in New Issue
Block a user