mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-19 02:15:45 +01:00
Fix Librarian Story Quest (#2218)
* Fix Librarian Story Quest * People die if they are killed You want to die people instead of remove them so they play their sweet death animations. * Nope. I take it back. Scriptlib is the wierd one to think removeEntity removes the entity. * One must stop editing the code directly. * Update EntityType.java * Add warnings per Hartie * Per Hartie, change getEntityType to EntityType
This commit is contained in:
@@ -629,7 +629,7 @@ public class SceneScriptManager {
|
||||
getScene().getEntities().values().stream()
|
||||
.filter(
|
||||
e ->
|
||||
e.getEntityType() == EntityType.Avatar.getValue()
|
||||
e.getEntityType() == EntityType.Avatar
|
||||
&& region.getMetaRegion().contains(e.getPosition()))
|
||||
.toList();
|
||||
entities.forEach(region::addEntity);
|
||||
|
||||
Reference in New Issue
Block a user