Skip to content

Commit

Permalink
fix: return true by default if player is not stored in database for t…
Browse files Browse the repository at this point in the history
…p toggle (#116)

Signed-off-by: Thatsmusic99 <25277367+thatsmusic99@users.noreply.github.com>
  • Loading branch information
Thatsmusic99 committed Jul 25, 2023
1 parent 4cf1eeb commit 6d00c7c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -232,7 +232,7 @@ public boolean isTeleportationOn(UUID uuid) {
} catch (SQLException exception) {
throw new RuntimeException(exception);
}
return false;
return true;
}

public void setTeleportationOn(UUID uuid, boolean enabled) {
Expand Down

0 comments on commit 6d00c7c

Please sign in to comment.