修改注释
parent
6f35e726a0
commit
f305dea91f
|
@ -11,7 +11,7 @@ import java.util.Map;
|
|||
/**
|
||||
* @Author hj
|
||||
* @Date 2021/10/28 17:11:17
|
||||
* @Description: 家园建筑等级 命令: homelevel 建筑类型id#建筑等级id#时间戳/秒(可以为空)
|
||||
* @Description: 家园建筑等级 命令: homelevel 角色id 建筑等级id 时间戳/秒(可以为空)
|
||||
* @Version 1.0
|
||||
*/
|
||||
public class Cmd_homelevel extends GmRoleAbstract{
|
||||
|
@ -25,7 +25,7 @@ public class Cmd_homelevel extends GmRoleAbstract{
|
|||
if (landLevel == null){
|
||||
return false;
|
||||
}
|
||||
int time = args.length > 2?Integer.parseInt(args[2]):TimeUtils.nowInt();
|
||||
int time = args.length >= 2?Integer.parseInt(args[1]):TimeUtils.nowInt();
|
||||
ArchitectureInfo info = new ArchitectureInfo(landLevel.getId(), time, 0);
|
||||
user.getPlayerInfoManager().putArchitectureInfo(landLevel.getPoolID(),info);
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ import com.ljsd.jieling.logic.dao.root.User;
|
|||
/**
|
||||
* @Author hj
|
||||
* @Date 2021/10/28 17:11:17
|
||||
* @Description: 易经宝库层数 命令: sublay 层数
|
||||
* @Description: 易经宝库层数 命令: sublay 角色id 层数
|
||||
* @Version 1.0
|
||||
*/
|
||||
public class Cmd_sublay extends GmRoleAbstract{
|
||||
|
|
Loading…
Reference in New Issue