mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Fix RTP cooldown not appearing in config by default / on migration
This commit is contained in:
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"));
|
||||
|
||||
@@ -31,6 +31,7 @@ spawn_command:
|
||||
pitch:
|
||||
random_teleport_command:
|
||||
enabled: true
|
||||
cooldown: 30
|
||||
range: 5000
|
||||
dynmap_integration:
|
||||
enabled: false
|
||||
|
||||
Reference in new issue
Block a user