From 7129ffb94f876e6983c8c3d96cdce162bcd06b81 Mon Sep 17 00:00:00 2001 From: Llm Dl Date: Mon, 27 Jun 2022 21:36:24 -0500 Subject: [PATCH] Add account name to the createAccount method. --- src/main/java/net/milkbowl/vault2/economy/Economy.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/milkbowl/vault2/economy/Economy.java b/src/main/java/net/milkbowl/vault2/economy/Economy.java index 7f80531..a79ba93 100644 --- a/src/main/java/net/milkbowl/vault2/economy/Economy.java +++ b/src/main/java/net/milkbowl/vault2/economy/Economy.java @@ -99,9 +99,10 @@ public interface Economy { * Attempts to create a account for the given uuid * * @param uuid associated with the account + * @param name associated with the account. * @return if the account creation was successful */ - public boolean createAccount(UUID uuid); + public boolean createAccount(UUID uuid, String name); /** * Attempts to create an account for the given UUID on the specified world @@ -109,10 +110,11 @@ public interface Economy { * false will always be returned. * * @param uuid associated with the account + * @param name associated with the account. * @param worldName String name of the world * @return if the account creation was successful */ - public boolean createAccount(UUID uuid, String worldName); + public boolean createAccount(UUID uuid, String name, String worldName); /** * Returns a map that represents all of the UUIDs which have accounts in the