This change should restore full compatibility between Vampires and Allow Tool.
Allow Tool has a postfix on the method ThingWithComps.GetFloatMenuOptions which is not getting called when Vampires is also loaded. This happens because Vampires patches Building_Casket.GetFloatMenuOptions, which does not exist, but is still processed correctly by Harmony by patching that method on the base type. This somehow overwrites patches applied to the base method directly.
I guess that would count as a Harmony bug, but we can easily work around it on our end.
This change should restore full compatibility between Vampires and Allow Tool.
Allow Tool has a postfix on the method
ThingWithComps.GetFloatMenuOptions
which is not getting called when Vampires is also loaded. This happens because Vampires patchesBuilding_Casket.GetFloatMenuOptions
, which does not exist, but is still processed correctly by Harmony by patching that method on the base type. This somehow overwrites patches applied to the base method directly.I guess that would count as a Harmony bug, but we can easily work around it on our end.
For reference, here is the patch added by Allow Tool.