static bool Prefix(FloorPlan floorPlan, ref bool __result) { if (!Main.enabled) { return(true); } if (floorPlan.Width() >= 1 && floorPlan.Height() >= 1) { __result = true; } return(false); }