TA的每日心情![](source/plugin/dsu_paulsign/img/emot/shuai.gif) | 衰 2022-12-15 19:48 |
---|
签到天数: 6 天 [LV.2]偶尔看看I
中级会员
![Rank: 3](static/image/common/star_level2.gif) ![Rank: 3](static/image/common/star_level1.gif)
- 积分
- 355
![QQ](static//image/common/qq_big.gif)
|
- 第一步,打开 NPCHandler.java
- 第二步,找到 NPCTalk 用法
- if (System.currentTimeMillis() - c.getPlayer().getNpcCooldown() < 1500) {
- c.getPlayer().dropMessage(5, 点击过块。);
- c.announce(PacketCreator.EnableActions());
- return;
- }
![](http://w5cm.com/data/attachment/forum/202007/16/200039wzndw0sjlmoyvlyl.jpg)
在这个用法的最下面加一行
c.getPlayer().setNpcCooldown(System.currentTimeMillis());
![](http://w5cm.com/data/attachment/forum/202007/16/200039k8gggyy4goygd8rg.jpg)
|
|