diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2021-10-11 17:06:21 -0400 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2021-10-11 17:06:21 -0400 |
commit | 55e15245e631edda2d7e9146b5229df4f8043dba (patch) | |
tree | e1b74f9afba564ea59610291bd7b190b3f9437cd /src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java | |
parent | beta 6 (diff) | |
download | kenshinshideandseek-55e15245e631edda2d7e9146b5229df4f8043dba.tar.gz kenshinshideandseek-55e15245e631edda2d7e9146b5229df4f8043dba.tar.bz2 kenshinshideandseek-55e15245e631edda2d7e9146b5229df4f8043dba.zip |
finished lobby and manual join system
Diffstat (limited to '')
-rw-r--r-- | src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java b/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java index c956d3d..2b96809 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java @@ -41,7 +41,7 @@ public class Stop implements ICommand { Hider.add(player.getName()); HiderTeam.addEntry(player.getName()); player.getInventory().clear(); - player.teleport(new Location(Bukkit.getWorld(spawnWorld), spawnPosition.getX(),spawnPosition.getY(),spawnPosition.getZ())); + player.teleport(new Location(Bukkit.getWorld(spawnWorld), lobbyPosition.getX(),lobbyPosition.getY(),lobbyPosition.getZ())); for(PotionEffect effect : player.getActivePotionEffects()){ player.removePotionEffect(effect.getType()); } |