Accept Strings as inputs instead of UUIDs.
This leaves options for other plugins to hook into us to use our vault operations. I did a first shot of this with FactionsUUID. * This needs to be tested more in depth before being pushed to a release version as it changes how we handle a lot of our dupe checks.
This commit is contained in:
@@ -83,7 +83,7 @@ public class BackpackConverter implements Converter {
|
||||
vault.setItem(Integer.parseInt(key.split(" ")[1]), item);
|
||||
}
|
||||
try {
|
||||
vaults.saveVault(vault, uuid, intoVaultNum);
|
||||
vaults.saveVault(vault, uuid.toString(), intoVaultNum);
|
||||
converted++;
|
||||
} catch (IOException e) {
|
||||
plugin.getLogger().severe("Error converting Backpack: " + file.getName());
|
||||
|
||||
Reference in New Issue
Block a user