mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Add ignoringdms to playerrowmapper
This commit is contained in:
1 parent
64a93656ea
commit
6a822da277
2 files changed
+3
-2
No files matched your search
@@ -171,7 +171,7 @@ public final class DatabaseUserManager extends CachingUserManager {
|
||||
.bind("lastwhispertarget", player.lastWhisperTarget())
|
||||
.bind("whisperreplytarget", player.whisperReplyTarget())
|
||||
.bind("spying", player.spying())
|
||||
.bind("ignoringdirectmessages", player.ignoringDirectMessages());
|
||||
.bind("ignoringdms", player.ignoringDirectMessages());
|
||||
}
|
||||
|
||||
public static final class Factory {
|
||||
|
||||
@@ -43,7 +43,8 @@ public final class PlayerRowMapper implements RowMapper<CarbonPlayerCommon> {
|
||||
ctx.findColumnMapperFor(Component.class).orElseThrow().map(rs, "displayname", ctx),
|
||||
uuid.map(rs, "lastwhispertarget", ctx),
|
||||
uuid.map(rs, "whisperreplytarget", ctx),
|
||||
rs.getBoolean("spying")
|
||||
rs.getBoolean("spying"),
|
||||
rs.getBoolean("ignoringdms")
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user