Skip to content

Commit

Permalink
feat(IDatabaseType): Reset
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeV220 committed Dec 23, 2022
1 parent 2382644 commit e9665fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.georgev22.library.maps.ObjectMap;
import com.georgev22.skinoverlay.utilities.player.User;
import com.google.common.collect.Lists;
import org.jetbrains.annotations.NotNull;

import java.util.UUID;
Expand All @@ -18,7 +17,8 @@ public interface IDatabaseType {
void setupUser(User user, Callback<Boolean> callback) throws Exception;

default void reset(@NotNull User user) throws Exception {
//TODO RESET
user.append("skinName", "default")
.append("skinProperty", user.getDefaultSkinProperty());
save(user);
}

Expand Down

0 comments on commit e9665fe

Please sign in to comment.