Cleanup InteractionFreezeExitTile

This commit is contained in:
brenoepic 2022-04-29 23:01:10 -03:00
parent b783182e7f
commit 4233ed2a7f

View File

@ -630,11 +630,7 @@ public class RoomSpecialTypes {
} }
public InteractionFreezeExitTile getFreezeExitTile() { public InteractionFreezeExitTile getFreezeExitTile() {
for (InteractionFreezeExitTile t : this.freezeExitTile.values()) { return this.freezeExitTile.values().stream().findFirst().orElse(null);
return t;
}
return null;
} }
public InteractionFreezeExitTile getRandomFreezeExitTile() { public InteractionFreezeExitTile getRandomFreezeExitTile() {