diff --git a/src/de/steamwar/bungeecore/bot/listeners/PrivateMessageListener.java b/src/de/steamwar/bungeecore/bot/listeners/PrivateMessageListener.java index f90b9d1..8f55731 100644 --- a/src/de/steamwar/bungeecore/bot/listeners/PrivateMessageListener.java +++ b/src/de/steamwar/bungeecore/bot/listeners/PrivateMessageListener.java @@ -24,12 +24,11 @@ import de.steamwar.bungeecore.sql.SchematicNode; import de.steamwar.bungeecore.sql.SteamwarUser; import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.events.message.priv.PrivateMessageReceivedEvent; -import org.jetbrains.annotations.NotNull; public class PrivateMessageListener extends BasicDiscordListener { @Override - public void onPrivateMessageReceived(@NotNull PrivateMessageReceivedEvent event) { + public void onPrivateMessageReceived(PrivateMessageReceivedEvent event) { if(!event.getMessage().getAttachments().isEmpty()) { SteamwarUser user = SteamwarUser.get(event.getAuthor().getIdLong()); if (user == null) {