当使用api (Irc Bot )时,我需要调用一个方法,该方法等待一个hasmap从另一个方法更改。示例:isRegistered命令!isRegistered。Wait till onNotices changes the HashMap so that i can get an result (hasmap content: null -> true, or falsesleeping the bot times out, because it can't reply to the /ping command from th