fix(storage): redundant cache call
This commit is contained in:
parent
4238e7b091
commit
c305f03df5
1 changed files with 0 additions and 1 deletions
|
@ -56,7 +56,6 @@ public class AnvilManager {
|
||||||
return Collections.singletonList(AnvilGUI.ResponseAction.replaceInputText("Invalid username!"));
|
return Collections.singletonList(AnvilGUI.ResponseAction.replaceInputText("Invalid username!"));
|
||||||
} else {
|
} else {
|
||||||
profile.setName(snapshot.getText());
|
profile.setName(snapshot.getText());
|
||||||
dataStore.updateCache(player.getUniqueId(), profile);
|
|
||||||
openSkinAnvil();
|
openSkinAnvil();
|
||||||
return Collections.singletonList(AnvilGUI.ResponseAction.close());
|
return Collections.singletonList(AnvilGUI.ResponseAction.close());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue