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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user