DasHomi / preventer

A mod that prevents you from doing dumb things
https://modrinth.com/mod/preventer
MIT License
11 stars 7 forks source link

Global Toggle hotkey #61

Closed emilyavi closed 1 month ago

emilyavi commented 8 months ago

added a global override toggle because while this mod is really useful, i find that in creative mode or during some builds it tends to get in the way. also added a config option (on by default) for displaying a message when the override key is pressed while the mod is toggled off in case the user forgets about the state of the toggle.

other changes in the PR (feel free to pick them as you will, i'm not very experienced with modding so i might have changed something that was done on purpose):

DasHomi commented 7 months ago

Ok, first of all, sorry for not responding earlier. I've tried the toggle now, and it seems to work quite nicely, so I'll merge it soon (after I've merged #54). Also, I think this pr implements most of #59, so if you find the time you could also try to implement the game mode checks for creative and spectator mentioned in #59.

emilyavi commented 7 months ago

awesome!! i'll see what i can do hopefully later today