Waterfall icon indicating copy to clipboard operation
Waterfall copied to clipboard

Entity Rewrite - Settings get reset

Open linsaftw opened this issue 2 years ago • 5 comments

When entity rewrite is disabled from waterfall.yml file, settings get reset each time you switch servers.

image image

This only happens since 24b7e51ed557baf3dbdeeb5ca94f445f08007127 upstream update.

linsaftw avatar Dec 09 '23 17:12 linsaftw

// Something deeper is going wrong here, but, as it stands, this project is EOL, so, we'll just shove this through.
if (user.getSettings() != null)
{
    ch.write( user.getSettings() );
}

I just forced this piece of code to always write settings and it fixed the issue.

linsaftw avatar Dec 10 '23 15:12 linsaftw

I feel like if you would test his with bungee, this kind of bug would also get fixed in bungee (if bungee has it what it really sounds like here) if you open issue there.

Janmm14 avatar Dec 10 '23 21:12 Janmm14

disabling entity metadata rewriting is not a thing on bungee

electronicboy avatar Dec 10 '23 21:12 electronicboy

uh ok i didnt check code in detail here.

edit: uh but 1.20 client doesnt really do entity rewriting on bungee as well?

Janmm14 avatar Dec 10 '23 21:12 Janmm14

Looks like I got the check backwards, this should be mitigated

electronicboy avatar Dec 12 '23 19:12 electronicboy