From 9979e41d914730aa11c51a6c2007994da16a8ea3 Mon Sep 17 00:00:00 2001 From: iGabyTM Date: Sat, 15 Apr 2023 13:39:56 +0300 Subject: [PATCH] fix(plugin): bulk open limit falling back to 1 if not defined --- .../arcanevouchers/voucher/settings/VoucherSettings.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/kotlin/me/gabytm/minecraft/arcanevouchers/voucher/settings/VoucherSettings.kt b/plugin/src/main/kotlin/me/gabytm/minecraft/arcanevouchers/voucher/settings/VoucherSettings.kt index 5645890..2c133de 100644 --- a/plugin/src/main/kotlin/me/gabytm/minecraft/arcanevouchers/voucher/settings/VoucherSettings.kt +++ b/plugin/src/main/kotlin/me/gabytm/minecraft/arcanevouchers/voucher/settings/VoucherSettings.kt @@ -153,7 +153,7 @@ class VoucherSettings( val bulkOpen = BulkOpen( config.getBoolean("bulkOpen.enabled"), - max(1, config.getInt("bulkOpen.limit")) + config.getInt("bulkOpen.limit", 64) ) val messages = Messages(