mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 06:55:29 +00:00
github web editor sucks
This commit is contained in:
parent
69fa8e8db7
commit
821c9c550b
@ -183,9 +183,9 @@ For example, a plugin whose main was `pmmp\TesterPlugin\Main` used to have to be
|
|||||||
|-- pmmp/
|
|-- pmmp/
|
||||||
|-- TesterPlugin/
|
|-- TesterPlugin/
|
||||||
|-- Main.php
|
|-- Main.php
|
||||||
|-- SomeOtherClass.php
|
|-- SomeOtherClass.php
|
||||||
|-- SomeNamespace/
|
|-- SomeNamespace/
|
||||||
|-- SomeNamespacedClass.php
|
|-- SomeNamespacedClass.php
|
||||||
```
|
```
|
||||||
However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml`, now we can get rid of the useless directories and structure it like this instead:
|
However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml`, now we can get rid of the useless directories and structure it like this instead:
|
||||||
```
|
```
|
||||||
@ -193,7 +193,7 @@ However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml`
|
|||||||
|-- src/
|
|-- src/
|
||||||
|-- Main.php
|
|-- Main.php
|
||||||
|-- SomeOtherClass.php
|
|-- SomeOtherClass.php
|
||||||
|-- SomeNamespace/
|
|-- SomeNamespace/
|
||||||
|-- SomeNamespacedClass.php
|
|-- SomeNamespacedClass.php
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user