Fix RTP cooldown not appearing in config by default / on migration

This commit is contained in:
William278 committed 2020-12-20 14:12:13 +00:00
1 parent 25608b2148
commit 3df6f9653a
2 files changed
+2

No files matched your search

@@ -87,6 +87,7 @@ public class huskHomes1Migrator {
// Transfer rtp command settings
plugin.getConfig().set("random_teleport_command.enabled", sourceConfig.getBoolean("do_rtp_command"));
plugin.getConfig().set("random_teleport_command.range", sourceConfig.getInt("rtp_boundary"));
plugin.getConfig().set("random_teleport_command.cooldown", sourceConfig.getInt("rtp_cooldown_time"));
// Transfer dynmap setting
plugin.getConfig().set("dynmap_integration.enabled", sourceConfig.getBoolean("do_dynmap"));