refactor: instance not used but should

This commit is contained in:
aro 2023-02-07 15:53:05 +01:00
parent 1edfac5537
commit a3005111c7

View file

@ -68,7 +68,7 @@ public class AppearanceManager {
} }
public ActionResult<Void> reset() { public ActionResult<Void> reset() {
final String defaultName = instance.getNicko().getDataStore().getStoredName(player); final String defaultName = dataStore.getStoredName(player);
this.profile.setName(defaultName); this.profile.setName(defaultName);
this.profile.setSkin(defaultName); this.profile.setSkin(defaultName);
final ActionResult<Void> actionResult = resetPlayer(); final ActionResult<Void> actionResult = resetPlayer();