orCreateAccount -> accountOrCreate
This is for parity with the scorboard scoreOrCreate
This commit is contained in:
1 parent
e5717aca25
commit
aee5e7c791
1 file changed
+2
-2
@@ -92,7 +92,7 @@ public interface EconomyService extends ContextualService<Account> {
|
||||
* @param uuid The {@link UUID} of the account to get.
|
||||
* @return The {@link UniqueAccount}, if available.
|
||||
*/
|
||||
Optional<UniqueAccount> orCreateAccount(UUID uuid);
|
||||
Optional<UniqueAccount> accountOrCreate(UUID uuid);
|
||||
|
||||
/**
|
||||
* Gets the {@link VirtualAccount} with the specified identifier.
|
||||
@@ -108,7 +108,7 @@ public interface EconomyService extends ContextualService<Account> {
|
||||
* @param identifier The identifier of the account to get.
|
||||
* @return The {@link Account}, if available.
|
||||
*/
|
||||
Optional<Account> orCreateAccount(String identifier);
|
||||
Optional<Account> accountOrCreate(String identifier);
|
||||
|
||||
/**
|
||||
* Gets a {@link Stream} of all available {@link UniqueAccount}s.
|
||||
|
||||
Reference in new issue
Block a user