战斗位置修改
parent
1bd3275e5a
commit
142dcb6970
|
@ -38,6 +38,8 @@ public class MonsterUtil {
|
||||||
for (int monsterId : monsterIds) {
|
for (int monsterId : monsterIds) {
|
||||||
if(monsterId!=0){
|
if(monsterId!=0){
|
||||||
monsterList.add(monsterMap.get(monsterId).setPosition(position++).build());
|
monsterList.add(monsterMap.get(monsterId).setPosition(position++).build());
|
||||||
|
}else{
|
||||||
|
position++;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue