Removed Vanilla*::fromString()

these were misbegotten and should never have existed.
If someone really needs these for some reason, they can use getAll()[name].
This commit is contained in:
Dylan K. Taylor
2021-11-08 18:52:14 +00:00
parent f93b5be789
commit a1ecdc27e5
4 changed files with 0 additions and 24 deletions

View File

@ -109,10 +109,4 @@ final class VanillaEffects{
$result = self::_registryGetAll();
return $result;
}
public static function fromString(string $name) : Effect{
$result = self::_registryFromString($name);
assert($result instanceof Effect);
return $result;
}
}