diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2022-11-20 23:39:55 -0500 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2022-11-20 23:39:55 -0500 |
commit | 5615fa7f325bb45762d13a704a9ffddda3efbfbb (patch) | |
tree | d75d721bc4f0098d7fe661197bd40a6be41654bb /src/main/java/net/tylermurphy/hideAndSeek/command/Send.java | |
parent | 1.7.0 beta 4 (diff) | |
download | kenshinshideandseek-5615fa7f325bb45762d13a704a9ffddda3efbfbb.tar.gz kenshinshideandseek-5615fa7f325bb45762d13a704a9ffddda3efbfbb.tar.bz2 kenshinshideandseek-5615fa7f325bb45762d13a704a9ffddda3efbfbb.zip |
1.7.0 beta 5
Diffstat (limited to '')
-rw-r--r-- | src/main/java/net/tylermurphy/hideAndSeek/command/Send.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/Send.java b/src/main/java/net/tylermurphy/hideAndSeek/command/Send.java index 87cc9a6..95c0dd9 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/command/Send.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/command/Send.java @@ -1,7 +1,7 @@ package net.tylermurphy.hideAndSeek.command; import net.tylermurphy.hideAndSeek.Main; -import net.tylermurphy.hideAndSeek.command.util.Command; +import net.tylermurphy.hideAndSeek.command.util.ICommand; import net.tylermurphy.hideAndSeek.configuration.Map; import net.tylermurphy.hideAndSeek.configuration.Maps; import net.tylermurphy.hideAndSeek.game.util.Status; @@ -14,7 +14,7 @@ import java.util.stream.Collectors; import static net.tylermurphy.hideAndSeek.configuration.Config.errorPrefix; import static net.tylermurphy.hideAndSeek.configuration.Localization.message; -public class Send extends Command { +public class Send implements ICommand { public void execute(Player sender, String[] args) { @@ -41,7 +41,7 @@ public class Send extends Command { Main.getInstance().getGame().setCurrentMap(map); for(Player player : Main.getInstance().getBoard().getPlayers()) { - player.teleport(map.getLobby()); + map.getLobby().teleport(player); } } |