From 7680a02ce87df2924a205783bf76371fe2c4bc94 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 7 Sep 2023 13:21:44 +0200 Subject: Added postAndCatch to CONTRIBUTING.md --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 44fa69dd0..845d4aa74 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -128,6 +128,7 @@ We use the [auto update library](https://repo.nea.moe/#/releases/moe/nea/libauto - This will most likely not be possible to avoid when working with obects from java. - Don't forget to add `@FeatureToggle` to new standalone features (not options to that feature) in the config. - Do not use `e.printStackTrace()`, use `CopyErrorCommand.logError(e, "explanation for users")` instead. +- Do not use `MinecraftForge.EVENT_BUS.post(event)`, use `event.postAndCatch()` instead. # Additional Useful Developement Tools -- cgit