Added Default Size for F Chest

This commit is contained in:
Driftay 2019-12-29 17:26:29 -05:00
parent e0134d680e
commit ca5d7663f9
2 changed files with 2 additions and 1 deletions

View File

@ -284,7 +284,7 @@ public class FUpgradesGUI implements Listener {
} }
int level = faction.getUpgrade(UpgradeType.CHEST); int level = faction.getUpgrade(UpgradeType.CHEST);
int size = 1; int size = FactionsPlugin.getInstance().getConfig().getInt("fchest.Default-Size");
switch (level) { switch (level) {
case 1: case 1:

View File

@ -885,6 +885,7 @@ fvault:
############################################################ ############################################################
fchest: fchest:
Enabled: true Enabled: true
Default-Size: 1 #In Rows
Inventory-Title: '&2&lFaction Chest' Inventory-Title: '&2&lFaction Chest'
Items-Not-Allowed: Items-Not-Allowed:
- 'MOB_SPAWNER' - 'MOB_SPAWNER'