Skip to content

Commit

Permalink
fix: ignore delay on first join
Browse files Browse the repository at this point in the history
  • Loading branch information
kazigk committed Jul 7, 2024
1 parent 261e201 commit e6f4984
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private static void updater(Player p) {
//RTP on first join
private static void rtpOnFirstJoin(Player p) {
if (getPl().getSettings().isRtpOnFirstJoin_Enabled() && !p.hasPlayedBefore())
HelperRTP.tp(p, Bukkit.getConsoleSender(), Bukkit.getWorld(getPl().getSettings().getRtpOnFirstJoin_World()), null, RTP_TYPE.JOIN); //Console is sender to override delays
HelperRTP.tp(p, Bukkit.getConsoleSender(), Bukkit.getWorld(getPl().getSettings().getRtpOnFirstJoin_World()), null, RTP_TYPE.JOIN, true, true);
}

private static BetterRTP getPl() {
Expand Down

0 comments on commit e6f4984

Please sign in to comment.