Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个活动
delay.stopDelay(delay.get(0));
它工作正常但是当延迟块变空时出现错误 在此处输入图像描述
那是因为你的延迟里面没有任何代理
所以你需要做以下事情:
if(delay.size()>0){ delay.stopDelay(delay.get(0)); }