Skip to main content

SelectFixPatch

A static class in TavernLib, TavernLib.Patches.

A MonoMod hook (applied in Tavern.OnLateInitializeMelon) that replaces SelectionCommandModule.FindObjects, the object search behind select find. Server.

Methods​

MemberWhat it is
static IEnumerable<NetworkEntityInfo> SelectionFix(SelectFixPatch.FindObjects orig, Player player, float distance = 10)Returns the prefab roots of every entity in every loaded chunk within distance of the player, or none with no player body.