mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
fucking phpstorm 2020.3 and its broken autocomplete
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user