mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
uh
This commit is contained in:
parent
d808ccda9c
commit
10e5935dcb
@ -48,7 +48,7 @@ public class FriendRequestEvent extends MessageHandler {
|
||||
return;
|
||||
}
|
||||
|
||||
if (habbo == null) {
|
||||
if(!habbo.isOnline()) {
|
||||
try (Connection connection = Emulator.getDatabase().getDataSource().getConnection(); PreparedStatement statement = connection.prepareStatement("SELECT users_settings.block_friendrequests, users.id FROM users INNER JOIN users_settings ON users.id = users_settings.user_id WHERE username = ? LIMIT 1")) {
|
||||
statement.setString(1, username);
|
||||
try (ResultSet set = statement.executeQuery()) {
|
||||
|
Loading…
Reference in New Issue
Block a user