mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Cleanup InteractionFreezeExitTile
This commit is contained in:
parent
b783182e7f
commit
4233ed2a7f
@ -630,11 +630,7 @@ public class RoomSpecialTypes {
|
||||
}
|
||||
|
||||
public InteractionFreezeExitTile getFreezeExitTile() {
|
||||
for (InteractionFreezeExitTile t : this.freezeExitTile.values()) {
|
||||
return t;
|
||||
}
|
||||
|
||||
return null;
|
||||
return this.freezeExitTile.values().stream().findFirst().orElse(null);
|
||||
}
|
||||
|
||||
public InteractionFreezeExitTile getRandomFreezeExitTile() {
|
||||
|
Loading…
Reference in New Issue
Block a user