嘿家伙收到这个错误:你们可以尝试解决这个问题吗?或查看有什么问题发布修复或其他内容
非常感谢家伙的:)
Exception in thread "ExtensionHandler-1" java.lang.NoSuchMethodE
rror: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/Concu
rrentHashMap$KeySetView;
at aerivial.requests.aqw.GetAction.process(GetAction.java:196)
at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.processEve
nt(ExtensionHandler.java:535)
at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.run(Extens
ionHandler.java:344)
at java.lang.Thread.run(Thread.java:619)
错误代码:
ConcurrentHashMap tgtBuffDebuffs = (ConcurrentHashMap)userTgt.properties.get(Users.BUFFS_DEBUFFS);
for (Iterator i = tgtBuffDebuffs.keySet().iterator(); i.hasNext(); ) { int auraId = ((Integer)i.next());
Aura aura = (Aura)World.instance.auras.get(Integer.valueOf(auraId));
if ((aura.getDamage() >= 0.0D) && (!aura.getCategory().equals("d"))) {
damage = (int)(damage * aura.getDamage());
}
}