forked from SteamWar/SteamWar
Migrate Event class to Kotlin and update references across modules
Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
@@ -55,7 +55,7 @@ public class DiscordTeamEvent extends ListenerAdapter {
|
||||
return;
|
||||
}
|
||||
|
||||
Event tournament = Event.get(eventId);
|
||||
Event tournament = Event.byId(eventId);
|
||||
if(tournament == null){
|
||||
reply.system("UNKNOWN_EVENT");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user