Skip to content

Commit

Permalink
1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BenceX100 committed Dec 15, 2024
1 parent 98dcea3 commit f746c90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.artillexstudios</groupId>
<artifactId>AxAFKZone</artifactId>
<version>1.4.0</version>
<version>1.4.1</version>
<packaging>jar</packaging>

<name>AxAFKZone</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public String getDisplay() {
}

public void run(Player player) {
Scheduler.get().runAt(player.getLocation(), scheduledTask -> {
Scheduler.get().run(scheduledTask -> {
for (String cmd : commands) {
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), cmd.replace("%player%", player.getName()));
}
Expand Down

0 comments on commit f746c90

Please sign in to comment.