this.playerPatchQueue[player.username].patches.push(...patch.patches.filter(p => {
// ideally, it would not generate these patches, but we take what we can
return !p.path.includes('_') && !p.path.includes('createdAt') && !p.path.includes('currentTick') && !p.path.includes('fov');
}));
But it's not ideal. I'd really like to have a way to have FJP not generate patches for these properties elsewhere if possible.
Right now I'm doing this:
But it's not ideal. I'd really like to have a way to have FJP not generate patches for these properties elsewhere if possible.