Skip to content

Commit

Permalink
fix(docs): Brain derp
Browse files Browse the repository at this point in the history
  • Loading branch information
ChampionAsh5357 committed May 23, 2024
1 parent 40bc937 commit 62e6a65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/concepts/registries.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ Finally, since the entire system is a wrapper around registry events, we need to

```java
//This is our mod constructor
public ExampleMod(IModEventBus bus) {
public ExampleMod(IEventBus modBus) {
//highlight-next-line
ExampleBlocksClass.BLOCKS.register(bus);
ExampleBlocksClass.BLOCKS.register(modBus);
//Other stuff here
}
```
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-1.20.4/concepts/registries.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ Finally, since the entire system is a wrapper around registry events, we need to

```java
//This is our mod constructor
public ExampleMod(IModEventBus bus) {
public ExampleMod(IEventBus modBus) {
//highlight-next-line
ExampleBlocksClass.BLOCKS.register(bus);
ExampleBlocksClass.BLOCKS.register(modBus);
//Other stuff here
}
```
Expand Down

1 comment on commit 62e6a65

@neoforged-pages-deployments
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploying with Cloudflare Pages

Name Result
Last commit: 62e6a65f160c853e8a3c7c708e12c99c6aa56133
Status: ✅ Deploy successful!
Preview URL: https://6b26dfad.neoforged-docs-previews.pages.dev
PR Preview URL: https://pr-80.neoforged-docs-previews.pages.dev

Please sign in to comment.