Skip to content

Commit

Permalink
Update config.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cakeGit authored Oct 4, 2024
1 parent dfb970a commit f334511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/misc/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public ExampleModClient(ModContainer container) {

//Then the config can be accessed, here we can print our welcome message from above
public void onCommonSetupEvent(CommonSetupEvent event) {
LOGGER.info(ExampleConfig.value.get()); //Hello from config!, or other defined value
LOGGER.info("Value in config:" + ExampleConfig.value.get());
}
```

Expand Down

1 comment on commit f334511

@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: f334511c2616a4bb7d8684e4070db606768f655f
Status: ✅ Deploy successful!
Preview URL: https://91000892.neoforged-docs-previews.pages.dev
PR Preview URL: https://pr-107.neoforged-docs-previews.pages.dev

Please sign in to comment.