Skip to content

Commit

Permalink
Merge pull request #112 from Endermanbugzjfc/patch-1
Browse files Browse the repository at this point in the history
virion.md: fix erroneous package and scheme.
  • Loading branch information
SOF3 authored Apr 27, 2024
2 parents 9329a3d + abb141b commit e258a03
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions virion.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@ To develop a virion, create a composer library by creating the composer.json:
{
"name": "sof3/await-generator",
"require": {
"pmmp/pocketmine-mp": "^4.13.0", # RECOMMENDED unless virion does not use PM API
"pocketmine/pocketmine-mp": "^5.0.0", # RECOMMENDED unless virion does not use PM API
"php": "^8.1" # OPTIONAL but RECOMMENDED if pmmp/pocketmine-mp is omitted
},
"autoload": {
"SOFe\\AwaitGenerator\\": "src"
"classmap": ["FolderContainingPluginYml/src"]
},
"extra": {
"virion": {
Expand Down Expand Up @@ -183,10 +183,10 @@ To use a virion, first create a composer.json for your project:
{
"name": "author/project",
"require": {
"pmmp/pocketmine-mp": "^4.13.0"
"pocketmine/pocketmine-mp": "^5.0.0"
},
"autoload": {
"Author\\Plugin": "src"
"classmap": ["FolderContainingPluginYml/src"]
}
}
```
Expand All @@ -199,10 +199,10 @@ just like normal composer libraries:
"name": "author/project",
"require": {
+ "sof3/await-generator": "^3.0.0",
"pmmp/pocketmine-mp": "^4.13.0"
"pocketmine/pocketmine-mp": "^5.0.0"
},
"autoload": {
"Author\\Plugin": "src"
"classmap": ["FolderContainingPluginYml/src"]
}
}
```
Expand Down

0 comments on commit e258a03

Please sign in to comment.