fix usercallbackevent gives wrong user bug

This commit is contained in:
mrbesen 2021-01-16 16:58:25 +01:00
parent 1e7b3f4794
commit e0f531004f
Signed by: MrBesen
GPG Key ID: 596B2350DCD67504
2 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,7 @@
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20190722</version>
<version>20201115</version>
<scope>compile</scope>
</dependency>
<dependency>

View File

@ -13,9 +13,12 @@ public class UserCallbackEvent extends MessageEvent {
private final String data;
@Getter
private final String ID;
@Getter
private final TUser user;
public UserCallbackEvent(TUser u, String data, String id, TMessage msg) {
super(msg);
user = u;
this.data = data;
this.ID = id;
}