Correctly set the egg values to avoid allowing blocked files to be edited; closes pterodactyl/panel#3536
This commit is contained in:
parent
f7c8571f46
commit
c279d28c5d
|
@ -58,6 +58,9 @@ func (s *Server) UpdateDataStructure(data []byte) error {
|
||||||
// backfiring at some point, but until then...
|
// backfiring at some point, but until then...
|
||||||
c.Build = src.Build
|
c.Build = src.Build
|
||||||
|
|
||||||
|
// Yee haw.
|
||||||
|
c.Egg = src.Egg
|
||||||
|
|
||||||
// Mergo can't quite handle this boolean value correctly, so for now we'll just
|
// Mergo can't quite handle this boolean value correctly, so for now we'll just
|
||||||
// handle this edge case manually since none of the other data passed through in this
|
// handle this edge case manually since none of the other data passed through in this
|
||||||
// request is going to be boolean. Allegedly.
|
// request is going to be boolean. Allegedly.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user