diff options
author | bobby29831 <me@bobby29831.com> | 2022-05-14 08:47:54 -0500 |
---|---|---|
committer | bobby29831 <me@bobby29831.com> | 2022-05-14 08:47:54 -0500 |
commit | 99d31ff71cecb0de3eac175384d9b55312a8a619 (patch) | |
tree | 38fa53d6d4ae8e3ca87a92f63c66e920baba7f67 /src/main/java/net/tylermurphy/hideAndSeek/command/location | |
parent | refactor: reorganize PlayerInfo without static variables (diff) | |
download | kenshinshideandseek-99d31ff71cecb0de3eac175384d9b55312a8a619.tar.gz kenshinshideandseek-99d31ff71cecb0de3eac175384d9b55312a8a619.tar.bz2 kenshinshideandseek-99d31ff71cecb0de3eac175384d9b55312a8a619.zip |
refactor: clean up typos, improperly named variables
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/location')
-rw-r--r-- | src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java b/src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java index d96252d..1f454d6 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java @@ -36,7 +36,7 @@ public class SetSpawnLocation implements ICommand { Player player = (Player) sender; LocationUtils.setLocation(player, Locations.GAME, vector -> { - if (worldborderEnabled && vector.distance(worldborderPosition) > 100) { + if (worldBorderEnabled && vector.distance(worldBorderPosition) > 100) { sender.sendMessage(errorPrefix + message("WORLDBORDER_POSITION")); throw new RuntimeException("World border not enabled or not in valid position!"); } |