mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-04-13 07:25:42 +02:00
Need to get the old value
This commit is contained in:
parent
7b63c8db93
commit
1ad4865911
@ -449,9 +449,12 @@ public final class Settings extends YamlConfiguration {
|
||||
}
|
||||
if (contains("Hooks.notifications"))
|
||||
set("Hooks.notifications", null);
|
||||
if (contains("Hooks.chestshop"))
|
||||
boolean useChestShop = false;
|
||||
if (contains("Hooks.chestshop")) {
|
||||
useChestShop = getBoolean("Hooks.chestshop");
|
||||
set("Hooks.chestshop", null);
|
||||
set("Hooks.legacyChestshop", false);
|
||||
}
|
||||
set("Hooks.legacyChestshop", useChestShop);
|
||||
if (!contains("Email.generateImage")) {
|
||||
set("Email.generateImage", true);
|
||||
changes = true;
|
||||
|
Loading…
Reference in New Issue
Block a user