mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-20 08:59:49 +08:00
Run spotlessApply
also set line endings to native, no more line conflict errors!
This commit is contained in:
@@ -661,8 +661,7 @@ public class SceneScriptManager {
|
||||
|
||||
for (var entityId : region.getEntities()) {
|
||||
var entity = this.getScene().getEntityById(entityId);
|
||||
if (entity == null || !region.getMetaRegion()
|
||||
.contains(entity.getPosition())) {
|
||||
if (entity == null || !region.getMetaRegion().contains(entity.getPosition())) {
|
||||
region.removeEntity(entityId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user