Finally started working on my own mod again, fixed a bug with syncing variables.