Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not set the default values in the struct we're unmarshaling into
closes pterodactyl/panel#1786 If you set the defaults, you'll override a bunch of values for the server with the original values. For example this code caused servers in a running state to be changed to a non-running state, thus leading to stats not sending. Just merge in any new values, leave everything else as empty.
- Loading branch information