add example for addCredits
This commit is contained in:
parent
b0c8c09a60
commit
60d77cf04a
1 changed files with 1 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ The ModAPI object has the following methods:
|
|||
- More [PromisifyDocumentation](promisify.md)
|
||||
- `addCredit(category: String, contributor: String, contents: String)`
|
||||
- Lets you easily add credits to Eaglercraft's credits.txt
|
||||
- eg: `ModAPI.addCredit("My Cool Mod", "Username", " - Coded the mod\n - Wrote somne credits")`
|
||||
|
||||
|
||||
## Handling strings, numbers and booleans to and from java.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue