Skip to content

Commit 5b30c54

Browse files
committed
update README
1 parent ad628da commit 5b30c54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ composer require aternos/renderchest
119119

120120
When using renderchest as a library, the `ItemLibraryGenerator` class can be used to replicate the functionality of the CLI tool.
121121
```php
122-
(new ItemLibraryGenerator(["path/to/assets"], "path/to/output"))
122+
ItemLibraryGenerator::fromAssetsFolders(["path/to/assets"], "path/to/output")
123123
->setNamespaces(["minecraft"])
124124
->setSize(64)
125125
->setQuality(2)

0 commit comments

Comments
 (0)