From f8f6b3151bca0ecca15179ce9e9c23424c0506e9 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Mon, 28 Mar 2022 23:46:11 +0200 Subject: [PATCH] SQLPlayer.isWebRegistered() --- .../main/java/fr/pandacube/lib/core/players/SQLPlayer.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Core/src/main/java/fr/pandacube/lib/core/players/SQLPlayer.java b/Core/src/main/java/fr/pandacube/lib/core/players/SQLPlayer.java index 2412c8c..806a768 100644 --- a/Core/src/main/java/fr/pandacube/lib/core/players/SQLPlayer.java +++ b/Core/src/main/java/fr/pandacube/lib/core/players/SQLPlayer.java @@ -96,6 +96,11 @@ public class SQLPlayer extends SQLElement { } + public boolean isWebRegistered() { + return get(password) != null; + } + +