fix typoes

This commit is contained in:
ZXMushroom63 2025-03-15 19:41:59 +08:00
parent 60d77cf04a
commit 33e829f633
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ The ModAPI object has the following methods:
- Gets the frames per second of the game
- `promisify(asyncJavaMethod: Method | Constructor) : PromisifiedJavaRunner`
- Allows running java methods that are @Async/@Async dependent.
- More [PromisifyDocumentation](promisify.md)
- 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")`

View File

@ -31,7 +31,7 @@ var asyncDownloadRemoteURI = ModAPI.promisify(ModAPI.hooks.methods.nlevi_Platfor
console.log(typeof asyncDownloadRemoteURI); //Logs function
```
When it is called, like any other asyncronoush function, it returns a `Promise` object.
When it is called, like any other asyncronous function, it returns a `Promise` object.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
You can replace the argument with any other method or constructor, including non asynchronous ones.