Skip to content

Commit 244dd70

Browse files
committed
fix TeleportUtils
1 parent 420f0c7 commit 244dd70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/cat/nyaa/nyaacore/utils/TeleportUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
public class TeleportUtils {
1212

13-
public void Teleport(Player player, Location loc) {
13+
public static void Teleport(Player player, Location loc) {
1414
if (!player.isOnline()) {
1515
return;
1616
}
@@ -30,7 +30,7 @@ public void Teleport(Player player, Location loc) {
3030
}
3131
}
3232

33-
public void Teleport(List<Player> players, Location loc) {
33+
public static void Teleport(List<Player> players, Location loc) {
3434
for (Player p : players) {
3535
Teleport(p, loc);
3636
}

0 commit comments

Comments
 (0)