mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
fucking phpstorm 2020.3 and its broken autocomplete
This commit is contained in:
parent
5e8078f3dd
commit
cd71fec53d
@ -72,7 +72,7 @@ class PacketSerializer extends BinaryStream{
|
||||
|
||||
public function __construct(string $buffer = "", int $offset = 0){
|
||||
parent::__construct($buffer, $offset);
|
||||
$this->shieldItemRuntimeId = ItemTypeDictionary::getInstance()->toRuntimeId("minecraft:shield");
|
||||
$this->shieldItemRuntimeId = ItemTypeDictionary::getInstance()->fromStringId("minecraft:shield");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user