热更bug修复2
parent
27380b64f3
commit
b996736cd8
|
|
@ -1379,6 +1379,7 @@ public class CBean2Proto {
|
|||
*/
|
||||
public static Map<String, Jewel> jewelOfLocal(User user, Hero hero){
|
||||
HashMap<String, Jewel> result = new HashMap<>();
|
||||
try {
|
||||
Map<String, PropertyItem> itemMap = user.getEquipManager().getEquipMap();
|
||||
for (String id : hero.getJewelInfo()) {
|
||||
PropertyItem item = itemMap.get(id);
|
||||
|
|
@ -1390,6 +1391,9 @@ public class CBean2Proto {
|
|||
result.put(id,jewel);
|
||||
}
|
||||
}
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue