Don't grant a max size of 54 when player first joins. Fixes #219

Introduced in ede738019a
This commit is contained in:
kashike
2016-08-19 19:52:42 -07:00
parent bb341ad133
commit ee7d0439f5
@@ -111,7 +111,7 @@ public class VaultOperations {
* @return max size as integer. If no max size is set then it will default to 54. * @return max size as integer. If no max size is set then it will default to 54.
*/ */
public static int getMaxVaultSize(OfflinePlayer player) { public static int getMaxVaultSize(OfflinePlayer player) {
if (player == null || !player.hasPlayedBefore() || !player.isOnline()) { if (player == null || !player.isOnline()) {
return 54; return 54;
} }
for (int i = 6; i != 0; i--) { for (int i = 6; i != 0; i--) {