mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +00:00
Bump adventure and use DefaultedRegistry
This commit is contained in:
1 parent
b9296e351c
commit
dc2e319511
5 files changed
+22
-12
No files matched your search
+1
-1
@@ -158,7 +158,7 @@ public class MySQLUserService<T extends PlayerUser> implements UserService<T> {
|
||||
final List<DbRow> channelSettings = this.database.getResults("SELECT * from sc_channel_settings WHERE uuid = ?;", uuid.toString());
|
||||
final List<DbRow> ignoredUsers = this.database.getResults("SELECT * from sc_ignored_users WHERE uuid = ?;", uuid.toString());
|
||||
|
||||
final ChatChannel channel = this.carbonChat.channelRegistry().channelOrDefault(users.getString("channel"));
|
||||
final ChatChannel channel = this.carbonChat.channelRegistry().getOrDefault(users.getString("channel"));
|
||||
|
||||
if (channel != null) {
|
||||
user.selectedChannel(channel, true);
|
||||
|
||||
Reference in new issue
Block a user