mirror of
https://github.com/elyby/mojang-api.git
synced 2024-11-22 21:23:07 +05:30
Refix for properties factory
This commit is contained in:
parent
0b0ca2c445
commit
1d57f8dafe
@ -12,7 +12,7 @@ class Factory {
|
||||
public static function createFromProp(array $prop): Property {
|
||||
$name = $prop['name'];
|
||||
if (isset(self::$MAP[$name])) {
|
||||
$className = static::$MAP[$name];
|
||||
$className = self::$MAP[$name];
|
||||
return new $className($prop);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user