热更bug修复
parent
bca7dc18de
commit
27380b64f3
|
@ -1,6 +1,9 @@
|
||||||
package com.ljsd.jieling.kefu;
|
package com.ljsd.jieling.kefu;
|
||||||
|
|
||||||
import com.ljsd.jieling.logic.activity.eventhandler.AddItemHandler;
|
import com.ljsd.jieling.logic.activity.eventhandler.AddItemHandler;
|
||||||
|
import com.ljsd.jieling.logic.dao.UserManager;
|
||||||
|
import com.ljsd.jieling.logic.dao.root.User;
|
||||||
|
import com.ljsd.jieling.logic.family.GuildLogic;
|
||||||
import com.ljsd.jieling.logic.fight.FightRecordLogic;
|
import com.ljsd.jieling.logic.fight.FightRecordLogic;
|
||||||
|
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
|
@ -31,6 +34,17 @@ public class Cmd_fightrecord extends GmAbstract {
|
||||||
new AddItemHandler();
|
new AddItemHandler();
|
||||||
LOGGER.info("神尊等级初始化......");
|
LOGGER.info("神尊等级初始化......");
|
||||||
break;
|
break;
|
||||||
|
case "tuigonghui":
|
||||||
|
try {
|
||||||
|
int uid = Integer.parseInt(args[1]);
|
||||||
|
User user = UserManager.getUser(uid);
|
||||||
|
GuildLogic.OnUserLeveFamily(user);
|
||||||
|
user.getPlayerInfoManager().setGuildId(0);
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
LOGGER.info("神尊等级初始化......");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
result = FightRecordLogic.getInstance().getOneRecord(content);
|
result = FightRecordLogic.getInstance().getOneRecord(content);
|
||||||
LOGGER.info("战报信息,OneRecord:{}", result);
|
LOGGER.info("战报信息,OneRecord:{}", result);
|
||||||
|
|
Loading…
Reference in New Issue