refactor: instance not used but should
This commit is contained in:
parent
1edfac5537
commit
a3005111c7
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue