Skip to content

Commit

Permalink
Fixed spawn not being set on reload
Browse files Browse the repository at this point in the history
  • Loading branch information
Foulest committed Oct 20, 2024
1 parent fcbc58d commit fb294ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/net/foulest/kitpvp/cmds/KitPvPCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import lombok.Getter;
import lombok.Setter;
import net.foulest.kitpvp.region.Spawn;
import net.foulest.kitpvp.util.ConstantUtil;
import net.foulest.kitpvp.util.MessageUtil;
import net.foulest.kitpvp.util.Settings;
Expand Down Expand Up @@ -68,6 +69,7 @@ public void onCommand(@NotNull CommandArgs args) {
}

Settings.loadSettings();
Spawn.load();
MessageUtil.messagePlayer(sender, "&aReloaded the config files successfully.");
} else {
handleHelp(sender, args);
Expand Down

0 comments on commit fb294ec

Please sign in to comment.