fucking phpstorm 2020.3 and its broken autocomplete

This commit is contained in:
Dylan K. Taylor 2021-03-31 21:41:50 +01:00
parent 5e8078f3dd
commit cd71fec53d
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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");
}
/**