mirror of
https://github.com/unmojang/drasl.git
synced 2025-09-18 03:38:04 -04:00
skin bug: use profileUser, not user
This commit is contained in:
parent
9427ab922c
commit
57a1d4b879
@ -89,7 +89,7 @@
|
||||
let pkgs = nixpkgsFor.${system};
|
||||
in {
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [ go gopls gotools go-tools sqlite-interactive nodejs golangci-lint pre-commit ];
|
||||
buildInputs = with pkgs; [ go gopls gotools go-tools sqlite-interactive nodejs golangci-lint pre-commit delve ];
|
||||
};
|
||||
});
|
||||
|
||||
|
4
front.go
4
front.go
@ -595,9 +595,9 @@ func FrontUpdate(app *App) func(c echo.Context) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
user.SkinHash = MakeNullString(&hash)
|
||||
profileUser.SkinHash = MakeNullString(&hash)
|
||||
} else if deleteSkin {
|
||||
user.SkinHash = MakeNullString(nil)
|
||||
profileUser.SkinHash = MakeNullString(nil)
|
||||
}
|
||||
|
||||
// Cape
|
||||
|
Loading…
x
Reference in New Issue
Block a user