Fix non-humanoid mobs being destroyed on devour (#38087)

* Allow non-preference living things to be added to a devourer's stomach

* Fix ordering of devour logic

* Minor refactor for whitelist on storage and food preference

* Fix linter issue

* Coerce workflow to run again; also fix bad indenting error

* Code review changes
This commit is contained in:
Sparlight
2025-07-09 06:43:35 -06:00
committed by GitHub
parent 5a46e09830
commit 2c3c510fe9
4 changed files with 44 additions and 34 deletions

View File

@@ -87,9 +87,3 @@ public sealed partial class DevourActionEvent : EntityTargetActionEvent { }
[Serializable, NetSerializable]
public sealed partial class DevourDoAfterEvent : SimpleDoAfterEvent { }
[Serializable, NetSerializable]
public enum FoodPreference : byte
{
Humanoid = 0,
All = 1
}