Skip to content
Success

Changes

Summary

  1. Fix IllegalArgumentException on TextChannel#canTalk() (commit: 4b63e62) (details)
Commit 4b63e62ba1cd4c955a3ab7b4d11b0267a5efcdbc by noreply
Fix IllegalArgumentException on TextChannel#canTalk()
Since the `guild` field is now an `UpstreamReference`, directly
comparing it to a Guild object results in an error:
```java
the Guild that this TextChannel is part of.
at
net.dv8tion.jda.core.entities.impl.TextChannelImpl.canTalk(TextChannelImpl.java:182)

at
net.dv8tion.jda.core.entities.impl.TextChannelImpl.canTalk(TextChannelImpl.java:175)

```
(commit: 4b63e62)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/TextChannelImpl.java (diff)