Commit 04acf4c8 authored by Joe Fujisawa's avatar Joe Fujisawa
Browse files

fix バグ修正

parent 02140d62
......@@ -57,6 +57,7 @@ public class AuctionCommandExecutorFire extends CommandExecutor<CommandFire> {
// 知覚した救助対象の市民の情報をMessageCivilianとして指令所に送信
this.worldInfo.getChanged().getChangedEntities().parallelStream()
.filter(this::isRescueTarget)
.map(this.worldInfo::getEntity)
.filter(Civilian.class::isInstance)
.map(Civilian.class::cast)
.map(e -> new MessageCivilian(true, StandardMessagePriority.HIGH, e))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment