Skip to content

Commit 6831d12

Browse files
committed
kjs-ori: fix wrong event listeners
1 parent 75f1b2a commit 6831d12

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

wikis/kubejs-oritech/docs/event/deepdrill_registration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Keep in mind that server events have to be located inside the `kubejs/server_scr
1515
Oritech uses the tag `oritech:resource_nodes` to determine which blocks can be mined from by the Bedrock Extractor. The item result
1616
is determined by a recipe. This event allows you to register new resource nodes and recipes for the Bedrock Extractor at the same time.
1717

18-
- access in a server script via: `EnderIOEvents.deepDrillRegistration`
18+
- access in a server script via: `OritechEvents.deepDrillRegistration`
1919
- functions
2020
- `add(...)`
2121
- description: registers the input block as resource node and adds the recipe for the Bedrock Extractor
@@ -43,7 +43,7 @@ is determined by a recipe. This event allows you to register new resource nodes
4343
To access the event, the first thing you need to do is to open an event listener for the `deepDrillRegistration` event in a server script.
4444

4545
```js
46-
EnderIOEvents.deepDrillRegistration(event => {
46+
OritechEvents.deepDrillRegistration(event => {
4747
// ...
4848
})
4949
```
@@ -53,7 +53,7 @@ After that, you can use the `add` function to register new resource nodes and re
5353
## Example
5454

5555
```js
56-
OritechEvents.soulCollection(event => {
56+
OritechEvents.deepDrillRegistration(event => {
5757
// registers the glass block as a resource node
5858
// adds a recipe that converts a glass block into a cobblestone
5959
// defaults to 60 ticks / 3 seconds

wikis/kubejs-oritech/docs/event/soulcollection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ cancel the soul collection completely or modify the the amount of souls collecte
3636
To access the event, the first thing you need to do is to open an event listener for the `soulCollection` event in a server script.
3737

3838
```js
39-
EnderIOEvents.soulCollection(event => {
39+
OritechEvents.soulCollection(event => {
4040
// ...
4141
})
4242
```

0 commit comments

Comments
 (0)