fix some region errors

This commit is contained in:
Akka
2022-07-03 15:56:18 +08:00
committed by Melledy
parent 4cd31af011
commit b92cc6a882
7 changed files with 100 additions and 11 deletions

View File

@@ -71,4 +71,8 @@ public class EntityRegion extends GameEntity{
*/
return null;
}
public int getFirstEntityId() {
return entities.stream().findFirst().orElse(0);
}
}