forked from Fascinated/Bat
silly resource leak nick
This commit is contained in:
parent
c78033f409
commit
0c6f3a0b4c
@ -106,7 +106,7 @@ public class MovieSubCommand extends BatCommand implements EventListener {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onButtonInteraction(BatGuild guild, @NonNull BatUser user, @NonNull ButtonInteractionEvent event) {
|
public void onButtonInteraction(BatGuild guild, @NonNull BatUser user, @NonNull ButtonInteractionEvent event) {
|
||||||
Map<String, String> params = userCommands.get(user.getId());
|
Map<String, String> params = userCommands.remove(user.getId());
|
||||||
if (params == null) {
|
if (params == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user