diff --git a/src/main/java/net/dv8tion/jda/internal/managers/channel/ChannelManagerImpl.java b/src/main/java/net/dv8tion/jda/internal/managers/channel/ChannelManagerImpl.java index 9db8a80eb9..872218ad30 100644 --- a/src/main/java/net/dv8tion/jda/internal/managers/channel/ChannelManagerImpl.java +++ b/src/main/java/net/dv8tion/jda/internal/managers/channel/ChannelManagerImpl.java @@ -163,7 +163,7 @@ public M reset(long fields) if ((fields & HIDE_MEDIA_DOWNLOAD_OPTIONS) == HIDE_MEDIA_DOWNLOAD_OPTIONS) { - if (channel.getFlags().contains(HIDE_MEDIA_DOWNLOAD_OPTIONS)) + if (channel.getFlags().contains(ChannelFlag.HIDE_MEDIA_DOWNLOAD_OPTIONS)) this.flags.add(ChannelFlag.HIDE_MEDIA_DOWNLOAD_OPTIONS); else this.flags.remove(ChannelFlag.HIDE_MEDIA_DOWNLOAD_OPTIONS);