Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ public class GuildVaultSettings implements SettingsHolder {
"Note: This requires a restart to change the inventory names."})
public static final Property<String> VAULT_NAME =
newProperty("guis.vault.name", "&8» &rGuild Vault");

@Comment("Must be an integer")
public static final Property<Integer> VAULT_ROWS =
newProperty("guis.vault.rows", 6);

@Comment("What materials would you like to blacklist from being put into the vaults?")
public static final Property<List<String>> BLACKLIST_MATERIALS =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ public boolean hasVaultUnlocked(int vault, Guild guild) {
* @return new vault
*/
public Inventory createNewVault(SettingsManager settingsManager) {
return Bukkit.createInventory(null, 54, ACFBukkitUtil.color(settingsManager.getProperty(GuildVaultSettings.VAULT_NAME)));
return Bukkit.createInventory(null, (9*settingsManager.getProperty(GuildVaultSettings.VAULT_ROWS)), ACFBukkitUtil.color(settingsManager.getProperty(GuildVaultSettings.VAULT_NAME)));
}

/**
Expand Down