Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config to prevent self morph particles #309

Open
wants to merge 1 commit into
base: 1.12
Choose a base branch
from

Conversation

asanetargoss
Copy link
Contributor

@asanetargoss asanetargoss commented Feb 19, 2024

A bigger PR than the first two.

This fix prevents spawning particles in first-person, which makes using a blaze morph easier. Because this may interfere with other mods, a config option has been provided to disable it if needed.

The fix wraps every vanilla IWorldEventListener. When spawning client-side particles from the user's morph while in first person, the wrapper is passed a flag which causes it to not spawn particles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant